Skip to content

Commit

Permalink
fix turtle 11
Browse files Browse the repository at this point in the history
  • Loading branch information
Alok Menghrajani committed Mar 19, 2012
1 parent d02c155 commit b356807
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions wtf/php.html
Expand Up @@ -28,7 +28,7 @@ <h1>PHP turtles</h1>
<li><a href="#turtle08">funny increments</a></li>
<li><a href="#turtle09">can't trust get_class()</a></li>
<li><a href="#turtle10">constructor does not get called, but destructor sure does</a></li>
<li><a href="#turtle11">inflexible type hints</a></li>
<li><a href="#turtle11" style="text-decoration: line-through">inflexible type hints</a></li>
<li><a href="#turtle12">to count or not to count</a></li>
<li><a href="#links">more stuff...</a></li>
</ol>
Expand Down Expand Up @@ -362,17 +362,17 @@ <h3>PHP code</h3>

<section id="turtle11">
<div class="page-header">
<h1>turtle 11: inflexible type hints</h1>
<h1 style="line-through">turtle 11: inflexible type hints</h1>
</div>
<p>Not really a bug, but pretty annoying.</p>
<p>Removed, since this only applies to hphp.</p>
<div>
<h3>PHP code</h3>
<div>
<pre class="prettyprint linenums">&lt;?php

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

Expand Down

0 comments on commit b356807

Please sign in to comment.