3v4l.org

run code in 300+ PHP versions simultaneously
<?php function critical_error($error_number,$error_string,$error_file,$error_line,$error_context) { echo "<strong>error:</strong> echo ".$error_string; exit(); } set_error_handler("critical_error"); test(); exit;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 79) Position 1 = -2
filename:       /in/puoWI
function name:  (null)
number of ops:  7
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   INIT_FCALL                                               'set_error_handler'
          1        SEND_VAL                                                 'critical_error'
          2        DO_ICALL                                                 
    8     3        INIT_FCALL_BY_NAME                                       'test'
          4        DO_FCALL                                      0          
    9     5      > EXIT                                                     
          6*     > RETURN                                                   1

Function critical_error:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 79) Position 1 = -2
filename:       /in/puoWI
function name:  critical_error
number of ops:  9
compiled vars:  !0 = $error_number, !1 = $error_string, !2 = $error_file, !3 = $error_line, !4 = $error_context
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   RECV                                             !0      
          1        RECV                                             !1      
          2        RECV                                             !2      
          3        RECV                                             !3      
          4        RECV                                             !4      
    3     5        CONCAT                                           ~5      '%3Cstrong%3Eerror%3A%3C%2Fstrong%3E+echo+', !1
          6        ECHO                                                     ~5
    4     7      > EXIT                                                     
    5     8*     > RETURN                                                   null

End of function critical_error

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
143.04 ms | 1395 KiB | 15 Q