From b3568076a257a1f84b7d04f74bd28c9900220e7e Mon Sep 17 00:00:00 2001 From: Alok Menghrajani Date: Mon, 19 Mar 2012 10:22:25 -0700 Subject: [PATCH] fix turtle 11 --- wtf/php.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/wtf/php.html b/wtf/php.html index 2a141e6..ee20ae1 100644 --- a/wtf/php.html +++ b/wtf/php.html @@ -28,7 +28,7 @@

PHP turtles

  • funny increments
  • can't trust get_class()
  • constructor does not get called, but destructor sure does
  • -
  • inflexible type hints
  • +
  • inflexible type hints
  • to count or not to count
  • more stuff...
  • @@ -362,9 +362,9 @@

    PHP code

    -

    Not really a bug, but pretty annoying.

    +

    Removed, since this only applies to hphp.

    PHP code

    @@ -372,7 +372,7 @@

    PHP code

    class Stringy { public function __toString() { - "I am Stringy"; + return "I am Stringy"; } }