3v4l.org

run code in 300+ PHP versions simultaneously
<?php function a() { echo "called\n"; return 'aaa'; } isset(strlen($a)[0]);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/66o53
function name:  (null)
number of ops:  4
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   STRLEN                                           ~1      !0
          1        ISSET_ISEMPTY_DIM_OBJ                         0  ~2      ~1, 0
          2        FREE                                                     ~2
          3      > RETURN                                                   1

Function a:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/66o53
function name:  a
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ECHO                                                     'called%0A'
    6     1      > RETURN                                                   'aaa'
    7     2*     > RETURN                                                   null

End of function a

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.64 ms | 1392 KiB | 13 Q