3v4l.org

run code in 300+ PHP versions simultaneously
<?php function w() { sleep(1); } for ($i=0;$i<5;$i++) { echo date('H:i:s') . PHP_EOL; w(); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
2 jumps found. (Code = 44) Position 1 = 12, Position 2 = 2
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 2
2 jumps found. (Code = 44) Position 1 = 12, Position 2 = 2
Branch analysis from position: 12
Branch analysis from position: 2
filename:       /in/cuuib
function name:  (null)
number of ops:  13
compiled vars:  !0 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   ASSIGN                                                   !0, 0
          1      > JMP                                                      ->10
    8     2    >   INIT_FCALL                                               'date'
          3        SEND_VAL                                                 'H%3Ai%3As'
          4        DO_ICALL                                         $2      
          5        CONCAT                                           ~3      $2, '%0A'
          6        ECHO                                                     ~3
    9     7        INIT_FCALL                                               'w'
          8        DO_FCALL                                      0          
    7     9        PRE_INC                                                  !0
         10    >   IS_SMALLER                                               !0, 5
         11      > JMPNZ                                                    ~6, ->2
   10    12    > > RETURN                                                   1

Function w:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/cuuib
function name:  w
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_FCALL                                               'sleep'
          1        SEND_VAL                                                 1
          2        DO_ICALL                                                 
    5     3      > RETURN                                                   null

End of function w

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.49 ms | 1397 KiB | 18 Q