3v4l.org

run code in 300+ PHP versions simultaneously
<?php function example($str) { is_string($str); } function example_ref(& $str) { is_string($str); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/LB0E0
function name:  (null)
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E > > RETURN                                                   1

Function example:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/LB0E0
function name:  example
number of ops:  4
compiled vars:  !0 = $str
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV                                             !0      
    4     1        TYPE_CHECK                                   64  ~1      !0
          2        FREE                                                     ~1
    5     3      > RETURN                                                   null

End of function example

Function example_ref:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/LB0E0
function name:  example_ref
number of ops:  4
compiled vars:  !0 = $str
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   RECV                                             !0      
    8     1        TYPE_CHECK                                   64  ~1      !0
          2        FREE                                                     ~1
    9     3      > RETURN                                                   null

End of function example_ref

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
266.74 ms | 1393 KiB | 14 Q