3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo "and ..."; if (function_exists('register_postsend_function')) { register_postsend_function(function() { echo "... you should not be seeing this"; sleep("10"); }); } else register_shutdown_function(function() { echo "... you should not be seeing this"; sleep("10"); }); die();
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 5, Position 2 = 10
Branch analysis from position: 5
1 jumps found. (Code = 42) Position 1 = 14
Branch analysis from position: 14
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 10
1 jumps found. (Code = 79) Position 1 = -2
filename:       /in/14ImR
function name:  (null)
number of ops:  16
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   ECHO                                                     'and+...'
          1        INIT_FCALL                                               'function_exists'
          2        SEND_VAL                                                 'register_postsend_function'
          3        DO_ICALL                                         $0      
          4      > JMPZ                                                     $0, ->10
          5    >   INIT_FCALL_BY_NAME                                       'register_postsend_function'
          6        DECLARE_LAMBDA_FUNCTION                                  '%00%7Bclosure%7D%2Fin%2F14ImR%3A1%240'
          7        SEND_VAL_EX                                              ~1
          8        DO_FCALL                                      0          
          9      > JMP                                                      ->14
         10    >   INIT_FCALL                                               'register_shutdown_function'
         11        DECLARE_LAMBDA_FUNCTION                                  '%00%7Bclosure%7D%2Fin%2F14ImR%3A1%241'
         12        SEND_VAL                                                 ~3
         13        DO_ICALL                                                 
         14    > > EXIT                                                     
         15*     > RETURN                                                   1

Function %00%7Bclosure%7D%2Fin%2F14ImR%3A1%240:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/14ImR
function name:  {closure}
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
          0  E >   ECHO                                                     '...+you+should+not+be+seeing+this'
          1        INIT_FCALL                                               'sleep'
          2        SEND_VAL                                                 '10'
          3        DO_ICALL                                                 
          4      > RETURN                                                   null

End of function %00%7Bclosure%7D%2Fin%2F14ImR%3A1%240

Function %00%7Bclosure%7D%2Fin%2F14ImR%3A1%241:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/14ImR
function name:  {closure}
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
          0  E >   ECHO                                                     '...+you+should+not+be+seeing+this'
          1        INIT_FCALL                                               'sleep'
          2        SEND_VAL                                                 '10'
          3        DO_ICALL                                                 
          4      > RETURN                                                   null

End of function %00%7Bclosure%7D%2Fin%2F14ImR%3A1%241

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.62 ms | 1396 KiB | 19 Q