fork(2) download
  1. <?php
  2.  
  3. // your code goes here
  4. function test() {
  5. echo 'test';
  6. }
  7. $a = true;
  8. $a ? (function() {echo 1;test();})() : print 2;
  9.  
Success #stdin #stdout 0.01s 82880KB
stdin
Standard input is empty
stdout
1test