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.

9
  • 1
    \$\begingroup\$ Ha I’ll switch it out for something else tomorrow \$\endgroup\$ Commented Aug 27, 2018 at 8:21
  • 4
    \$\begingroup\$ Instead of <?="$"., just do $<?= and save a few bytes. \$\endgroup\$ Commented Aug 27, 2018 at 10:23
  • 2
    \$\begingroup\$ @IsmaelMiguel nice thanks! Got it down to 8 bytes but didn't take long enough to figure out how to get the other ~70k of my salary. \$\endgroup\$ Commented Aug 27, 2018 at 14:25
  • 1
    \$\begingroup\$ wow didnt knew about this constant, but I couldnt find in docs, can any one help on this? \$\endgroup\$
    – Rafee
    Commented Aug 29, 2018 at 9:28
  • 3
    \$\begingroup\$ @Rafee it's actually not documented any place that I can find. It's a language constant that was added 17 years ago github.com/php/php-src/commit/…. I found it by dumping all available constants and then just starting to grep for the shortest ones. It seems to be provided by the OS seen here gnu.org/software/libc/manual/pdf/libc.pdf on page 195. \$\endgroup\$ Commented Aug 29, 2018 at 14:50