3v4l.org

run code in 500+ PHP versions simultaneously
<?php set_error_handler( function ( int $errorNo, string $errorString, string $file, int $line ) { echo PHP_EOL . "Catched!: $errorString"; }, E_ALL ); rtrim(null); function foo($param_optional = null, $param_required) { // some code }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/U9tBQ
function name:  (null)
number of ops:  9
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                                   'set_error_handler'
    4     1        DECLARE_LAMBDA_FUNCTION                              ~0      [0]
   11     2        SEND_VAL                                                     ~0
   12     3        SEND_VAL                                                     30719
    3     4        DO_ICALL                                                     
   15     5        INIT_FCALL                                                   'rtrim'
          6        SEND_VAL                                                     null
          7        DO_ICALL                                                     
   19     8      > RETURN                                                       1


Dynamic Functions:
Dynamic Function 0
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/U9tBQ
function name:  {closure:/in/U9tBQ:4}
number of ops:  9
compiled vars:  !0 = $errorNo, !1 = $errorString, !2 = $file, !3 = $line
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    5     0  E >   RECV                                                 !0      
    6     1        RECV                                                 !1      
    7     2        RECV                                                 !2      
    8     3        RECV                                                 !3      
   10     4        NOP                                                          
          5        FAST_CONCAT                                          ~4      'Catched%21%3A+', !1
          6        CONCAT                                               ~5      '%0A', ~4
          7        ECHO                                                         ~5
   11     8      > RETURN                                                       null

End of Dynamic Function 0

Function foo:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/U9tBQ
function name:  foo
number of ops:  3
compiled vars:  !0 = $param_optional, !1 = $param_required
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
   17     0  E >   RECV                                                 !0      
          1        RECV                                                 !1      
   19     2      > RETURN                                                       null

End of function foo

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
125.89 ms | 480 KiB | 9 Q