Slashdot Mirror


PHP Finally Getting a Formal Specification

itwbennett (1594911) writes "Despite becoming one of the most widely used programming languages on the Web, PHP didn't have a formal specification — until now. Facebook engineer and PHP core contributor Sara Golemon announced the initiative at OSCON earlier this month, and an initial draft of the specification was posted Wednesday on GitHub."

5 of 180 comments (clear)

  1. PHP Finally Getting a Formal Specification by NoNonAlphaCharsHere · · Score: 5, Funny

    Unfortunately, it's written in PHP, so there's some disagreement about WHAT is says.

    1. Re:PHP Finally Getting a Formal Specification by NoNonAlphaCharsHere · · Score: 4, Funny

      Actually SpecificationFormal($PHP) automagically converted $PHP to Perl and returned false. No-one is sure WHY, but that's the way it works.

    2. Re:PHP Finally Getting a Formal Specification by Megane · · Score: 4, Funny

      I'll just wait for them to replace php_specification() with real_php_specification() ... or is it php_real_specification() ?

      --
      #naabhaprzrag, #sverubfr-000, #agi-fcbafberq, negvpyr[pynff*=' negvpyr-ary-'] { qvfcynl: abar !vzcbegnag; }
  2. Re:Existing app by Zero__Kelvin · · Score: 2, Funny

    Reimplementation, or more accurately, implementing it properly for the first time.

    --
    Guns don't kill people; Physics kills people! - John Lithgow as Dick Solomon on Third Rock From The Sun
  3. Re:Full specification text: by lgw · · Score: 4, Funny

    PHP Formal Specification:

    1) Don't use PHP.

    No wonder you're getting modded down if you think that's a formal specification! C'mon:


    1. Abstract.

    Don't use PHP.

    2. Conventions used in this document.

    The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
    "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
    document are to be interpreted as described in RFC-2119

    3. Normative Guidance for the Use of PHP

    One MUST NOT use PHP.

    --
    Socialism: a lie told by totalitarians and believed by fools.