3v4l.org

run code in 300+ PHP versions simultaneously
<?php function whatevs () {return true;}; set_error_handler('whatevs'); function foo($a) { trigger_warning('whatevs', E_USER_WARNING); var_dump($a); } foo(“13abc”);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/MMOea
function name:  (null)
number of ops:  8
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_FCALL                                               'set_error_handler'
          1        SEND_VAL                                                 'whatevs'
          2        DO_ICALL                                                 
    6     3        INIT_FCALL                                               'foo'
          4        FETCH_CONSTANT                                   ~1      '%E2%80%9C13abc%E2%80%9D'
          5        SEND_VAL                                                 ~1
          6        DO_FCALL                                      0          
          7      > RETURN                                                   1

Function whatevs:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/MMOea
function name:  whatevs
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E > > RETURN                                                   <true>
          1*     > RETURN                                                   null

End of function whatevs

Function foo:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/MMOea
function name:  foo
number of ops:  9
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   RECV                                             !0      
          1        INIT_FCALL_BY_NAME                                       'trigger_warning'
          2        SEND_VAL_EX                                              'whatevs'
          3        SEND_VAL_EX                                              512
          4        DO_FCALL                                      0          
          5        INIT_FCALL                                               'var_dump'
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                                 
          8      > RETURN                                                   null

End of function foo

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
175.82 ms | 1398 KiB | 18 Q