3v4l.org

run code in 300+ PHP versions simultaneously
<?php set_time_limit(1); sleep(2); echo 123; register_shutdown_function(function(){ sleep(2); echo time()-$_REQUEST["REQUEST_TIME"]; });
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/7AVOl
function name:  (null)
number of ops:  12
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'set_time_limit'
          1        SEND_VAL                                                 1
          2        DO_ICALL                                                 
    3     3        INIT_FCALL                                               'sleep'
          4        SEND_VAL                                                 2
          5        DO_ICALL                                                 
    4     6        ECHO                                                     123
    5     7        INIT_FCALL                                               'register_shutdown_function'
          8        DECLARE_LAMBDA_FUNCTION                                  '%00%7Bclosure%7D%2Fin%2F7AVOl%3A5%240'
    8     9        SEND_VAL                                                 ~2
         10        DO_ICALL                                                 
         11      > RETURN                                                   1

Function %00%7Bclosure%7D%2Fin%2F7AVOl%3A5%240:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/7AVOl
function name:  {closure}
number of ops:  10
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   INIT_FCALL                                               'sleep'
          1        SEND_VAL                                                 2
          2        DO_ICALL                                                 
    7     3        INIT_FCALL                                               'time'
          4        DO_ICALL                                         $1      
          5        FETCH_R                      global              ~2      '_REQUEST'
          6        FETCH_DIM_R                                      ~3      ~2, 'REQUEST_TIME'
          7        SUB                                              ~4      $1, ~3
          8        ECHO                                                     ~4
    8     9      > RETURN                                                   null

End of function %00%7Bclosure%7D%2Fin%2F7AVOl%3A5%240

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
142.85 ms | 1399 KiB | 21 Q