---
title: "[Pre-RFC] Pure-code source files via .phpc extension"
url: https://daily.dev/posts/pre-rfc-pure-code-source-files-via-phpc-extension-r9mcfr7w4
source_url: https://externals.io/message/131070
type: article
source: "externals.io"
published: 2026-05-31T08:53:19.287Z
updated: 2026-05-31T09:31:35.664Z
tags: ["php", "language-design"]
reading_time: 2
upvotes: 0
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# [Pre-RFC] Pure-code source files via .phpc extension

**[externals.io](https://daily.dev/sources/externals)** · 2 min read · 0 upvotes · 0 comments

## Summary

A PHP internals mailing list response critiquing a Pre-RFC proposal for a `.phpc` file extension that would enable a 'pure-code' or alternative syntax mode for PHP. The respondent argues the proposal is unnecessary complexity, comparing it to a Perl module that allows writing code in grammatically correct Latin. They note that strict mode proposals have historically been rejected in favor of moving the language in a consistent direction, and suggest using a static analyser if you want to enforce restrictions in your own codebase.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://externals.io/message/131070>

## Similar posts on daily.dev

- [\[Pre-RFC\] Pure-code source files via .phpc extension](https://daily.dev/posts/pre-rfc-pure-code-source-files-via-phpc-extension-j7yzpwg0h) · externals.io · 0 upvotes · 0 comments
- [\[Pre-RFC\] Pure-code source files via .phpc extension](https://daily.dev/posts/pre-rfc-pure-code-source-files-via-phpc-extension-fmsphdirt) · externals.io · 0 upvotes · 0 comments
- [\[Pre-RFC\] Pure-code source files via .phpc extension](https://daily.dev/posts/pre-rfc-pure-code-source-files-via-phpc-extension-l1ucjhvrm) · externals.io · 0 upvotes · 0 comments
- [\[Pre-RFC\] Pure-code source files via .phpc extension](https://daily.dev/posts/pre-rfc-pure-code-source-files-via-phpc-extension-gcfy40jbn) · externals.io · 0 upvotes · 0 comments

---

Tags: [#php](https://daily.dev/tags/php), [#language-design](https://daily.dev/tags/language-design)

[View this post on daily.dev](https://daily.dev/posts/pre-rfc-pure-code-source-files-via-phpc-extension-r9mcfr7w4)
