3v4l.org

run code in 300+ PHP versions simultaneously
<?php function foo() { echo 'call'; } $bar = '\x66\x6f\x6f'; $fooName = stripcslashes($bar); echo $fooName . "\n"; $fooName();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/CjBBm
function name:  (null)
number of ops:  10
compiled vars:  !0 = $bar, !1 = $fooName
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   ASSIGN                                                   !0, '%5Cx66%5Cx6f%5Cx6f'
    6     1        INIT_FCALL                                               'stripcslashes'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $3      
          4        ASSIGN                                                   !1, $3
    8     5        CONCAT                                           ~5      !1, '%0A'
          6        ECHO                                                     ~5
    9     7        INIT_DYNAMIC_CALL                                        !1
          8        DO_FCALL                                      0          
          9      > RETURN                                                   1

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

End of function foo

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.91 ms | 1394 KiB | 15 Q