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'); w(); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
2 jumps found. (Code = 44) Position 1 = 11, Position 2 = 2
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 2
2 jumps found. (Code = 44) Position 1 = 11, Position 2 = 2
Branch analysis from position: 11
Branch analysis from position: 2
filename:       /in/a5OSJ
function name:  (null)
number of ops:  12
compiled vars:  !0 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   ASSIGN                                                   !0, 0
          1      > JMP                                                      ->9
    9     2    >   INIT_FCALL                                               'date'
          3        SEND_VAL                                                 'H%3Ai%3As'
          4        DO_ICALL                                         $2      
          5        ECHO                                                     $2
   10     6        INIT_FCALL                                               'w'
          7        DO_FCALL                                      0          
    8     8        PRE_INC                                                  !0
          9    >   IS_SMALLER                                               !0, 5
         10      > JMPNZ                                                    ~5, ->2
   11    11    > > RETURN                                                   1

Function w:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/a5OSJ
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:
147 ms | 1397 KiB | 18 Q