fork(1) download
  1. <?php
  2. $x = function ($a) {
  3. return $a * 2;
  4. };
  5. $z = 0;
  6. echo assert(
  7. true === is_callable($z) // изменил аргумент на $z
  8. );
  9.  
  10. echo "\n";
  11.  
  12. echo assert(
  13. 5 == $x(2) //заменил 4 на 5
  14. );
Success #stdin #stdout 0.01s 82752KB
stdin
Standard input is empty
stdout
1
1