3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A{ function addslashes($s){ echo "AA"; } } A::addslashes('str'); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/S4OYZ
function name:  (null)
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   INIT_STATIC_METHOD_CALL                                  'A', 'addslashes'
          1        SEND_VAL                                                 'str'
          2        DO_FCALL                                      0          
    9     3      > RETURN                                                   1

Class A:
Function addslashes:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/S4OYZ
function name:  addslashes
number of ops:  3
compiled vars:  !0 = $s
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   RECV                                             !0      
    5     1        ECHO                                                     'AA'
    6     2      > RETURN                                                   null

End of function addslashes

End of class A.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.43 ms | 1393 KiB | 13 Q