fork(2) download
  1. <?php
  2.  
  3. class One
  4. {
  5. public function do()
  6. {
  7. $xyu = Two::doTwo();
  8. }
  9. }
  10.  
  11.  
  12. class Two
  13. {
  14. public static function doTwo()
  15. {
  16. return $zalupa;
  17. }
  18. }
  19.  
  20. $penis = new One;
  21. var_dump($penis->do());
Success #stdin #stdout #stderr 0.02s 82880KB
stdin
Standard input is empty
stdout
NULL
stderr
PHP Notice:  Undefined variable: zalupa in /home/gD6aa5/prog.php on line 16