@ 2013-08-05T16:33:39Z <?php
abstract class Person {
abstract public function name();
function __toString() {
return $this->name();
}
function a() {
return new What();
}
}
class Her extends Person {
public function name() {
return "girlFriend";
}
}
class You extends Person {
public function name() {
return "you";
}
}
class Understand {
private $y, $i;
function __construct(Person $y) {
$this->y = $y;
$this->i = "";
}
function a() {
return new What($this->y, $this->i);
}
function get() {
while ($x = mt_rand(0, 5)) {
$this->i .= $x;
}
return $this;
}
}
class What {
private $i, $y;
function __construct(Person $y, $i) {
$this->i = $i;
$this->y = $y;
}
function girlFriend(Person $her) {
throw new NullBabeException(sprintf("%s is Needed ASAP Found %s issues with %s ",
$her,
number_format((int)$this->i),
$this->y
), E_CORE_WARNING);
}
}
class NullBabeException extends Exception {
function __construct($m){
parent::__construct(sprintf("<h1>%s</h1>",$m));
}
}
try {
if ($you = new Understand(new You())) {
$you->get()->a()->girlFriend(new Her());
}
} catch ( NullBabeException $e ) {
echo $e->getMessage();
}
?>
<?php
Enable javascript to submit You have javascript disabled. You will not be able to edit any code.
Output for 5.4.0 - 5.4.19 Parse error: syntax error, unexpected end of file in /in/1PjGA on line 76
Process exited with code 255 . Output for 5.2.17 , 5.3.29 <h1>girlFriend is Needed ASAP Found 53 issues with you </h1>
<?php Output for 5.2.1 , 5.2.5 - 5.2.6 , 5.2.12 , 5.2.14 - 5.2.15 , 5.3.21 , 5.3.28 <h1>girlFriend is Needed ASAP Found 0 issues with you </h1>
<?php Output for 5.3.27 <h1>girlFriend is Needed ASAP Found 53,434,533,243,433 issues with you </h1>
<?php Output for 5.3.26 <h1>girlFriend is Needed ASAP Found 15,554,145 issues with you </h1>
<?php Output for 5.2.8 - 5.2.10 , 5.3.4 , 5.3.20 , 5.3.25 <h1>girlFriend is Needed ASAP Found 1 issues with you </h1>
<?php Output for 5.3.24 <h1>girlFriend is Needed ASAP Found 521 issues with you </h1>
<?php Output for 5.3.23 <h1>girlFriend is Needed ASAP Found 231,225,124 issues with you </h1>
<?php Output for 5.3.22 <h1>girlFriend is Needed ASAP Found 2,244 issues with you </h1>
<?php Output for 5.3.5 , 5.3.19 <h1>girlFriend is Needed ASAP Found 5 issues with you </h1>
<?php Output for 5.3.18 <h1>girlFriend is Needed ASAP Found 432 issues with you </h1>
<?php Output for 5.3.17 <h1>girlFriend is Needed ASAP Found 241 issues with you </h1>
<?php Output for 5.3.16 <h1>girlFriend is Needed ASAP Found 53,123 issues with you </h1>
<?php Output for 5.3.15 <h1>girlFriend is Needed ASAP Found 13 issues with you </h1>
<?php Output for 5.3.14 <h1>girlFriend is Needed ASAP Found 2 issues with you </h1>
<?php Output for 5.3.13 <h1>girlFriend is Needed ASAP Found 3 issues with you </h1>
<?php Output for 5.3.12 <h1>girlFriend is Needed ASAP Found 32,515,254 issues with you </h1>
<?php Output for 5.3.11 <h1>girlFriend is Needed ASAP Found 23 issues with you </h1>
<?php Output for 5.3.10 <h1>girlFriend is Needed ASAP Found 145 issues with you </h1>
<?php Output for 5.3.9 <h1>girlFriend is Needed ASAP Found 1,331 issues with you </h1>
<?php Output for 5.2.4 , 5.3.8 <h1>girlFriend is Needed ASAP Found 34 issues with you </h1>
<?php Output for 5.3.7 <h1>girlFriend is Needed ASAP Found 5,324,435,353 issues with you </h1>
<?php Output for 5.3.6 <h1>girlFriend is Needed ASAP Found 43 issues with you </h1>
<?php Output for 5.3.3 <h1>girlFriend is Needed ASAP Found 111 issues with you </h1>
<?php Output for 5.3.2 <h1>girlFriend is Needed ASAP Found 55,233,225,511 issues with you </h1>
<?php Output for 5.3.1 <h1>girlFriend is Needed ASAP Found 15,212 issues with you </h1>
<?php Output for 5.3.0 <h1>girlFriend is Needed ASAP Found 1,523 issues with you </h1>
<?php Output for 5.2.16 <h1>girlFriend is Needed ASAP Found 141 issues with you </h1>
<?php Output for 5.2.13 <h1>girlFriend is Needed ASAP Found 252,142 issues with you </h1>
<?php Output for 5.2.11 <h1>girlFriend is Needed ASAP Found 33 issues with you </h1>
<?php Output for 5.2.7 <h1>girlFriend is Needed ASAP Found 9,223,372,036,854,775,808 issues with you </h1>
<?php Output for 5.2.3 <h1>girlFriend is Needed ASAP Found 43,443,232,354,451 issues with you </h1>
<?php Output for 5.2.2 <h1>girlFriend is Needed ASAP Found 24 issues with you </h1>
<?php Output for 5.2.0 <h1>girlFriend is Needed ASAP Found 345 issues with you </h1>
<?php Output for 5.1.6 <h1>Object id #4 is Needed ASAP Found 1 issues with Object id #2 </h1>
<?php Output for 5.1.5 <h1>Object id #4 is Needed ASAP Found 552,413 issues with Object id #2 </h1>
<?php Output for 5.1.4 <h1>Object id #4 is Needed ASAP Found 4,414 issues with Object id #2 </h1>
<?php Output for 5.1.3 <h1>Object id #4 is Needed ASAP Found 25,232,541 issues with Object id #2 </h1>
<?php Output for 5.1.2 <h1>Object id #4 is Needed ASAP Found 4 issues with Object id #2 </h1>
<?php Output for 5.1.1 <h1>Object id #4 is Needed ASAP Found 322,155,143 issues with Object id #2 </h1>
<?php Output for 5.1.0 <h1>Object id #4 is Needed ASAP Found 41,533,521,352 issues with Object id #2 </h1>
<?php Output for 5.0.5 <h1>Object id #4 is Needed ASAP Found 444,433 issues with Object id #2 </h1>
<?php Output for 5.0.4 <h1>Object id #4 is Needed ASAP Found 4,123 issues with Object id #2 </h1>
<?php Output for 5.0.3 <h1>Object id #4 is Needed ASAP Found 55,411 issues with Object id #2 </h1>
<?php Output for 5.0.2 <h1>Object id #4 is Needed ASAP Found 0 issues with Object id #2 </h1>
<?php Output for 5.0.1 <h1>Object id #4 is Needed ASAP Found 44,121,353,322 issues with Object id #2 </h1>
<?php Output for 5.0.0 <h1>Object id #4 is Needed ASAP Found 2 issues with Object id #2 </h1>
<?php Output for 4.4.2 - 4.4.9 Parse error: syntax error, unexpected T_CLASS in /in/1PjGA on line 3
Process exited with code 255 . Output for 4.3.0 - 4.3.1 , 4.3.5 - 4.3.11 , 4.4.0 - 4.4.1 Parse error: parse error, unexpected T_CLASS in /in/1PjGA on line 3
Process exited with code 255 . Output for 4.3.2 - 4.3.4 Parse error: parse error in /in/1PjGA on line 3
Process exited with code 255 . preferences:dark mode live preview
100.65 ms | 401 KiB | 108 Q