Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • \$\begingroup\$ Wait, am I doing it right?... Anyway, I'm really curious about this one. PHP is used by many people and golfers, but I almost have no idea how to golf a PHP code. \$\endgroup\$ Commented Jun 20, 2011 at 14:11
  • \$\begingroup\$ Use short tags <??> It can save a few bytes. \$\endgroup\$ Commented Aug 12, 2011 at 20:49
  • \$\begingroup\$ This is added in PHP 8.4: wiki.php.net/rfc/new_without_parentheses \$\endgroup\$ Commented Nov 21, 2024 at 21:23