3v4l.org

run code in 500+ PHP versions simultaneously
<?php $x = new stdClass;$x->y = "sprintf"; ($x->y)("x");
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ZeZR1
function name:  (null)
number of ops:  10
compiled vars:  !0 = $x
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   NEW                                                  $1      'stdClass'
          1        DO_FCALL                                          0          
          2        ASSIGN                                                       !0, $1
          3        ASSIGN_OBJ                                                   !0, 'y'
          4        OP_DATA                                                      'sprintf'
          5        FETCH_OBJ_R                                          ~5      !0, 'y'
          6        INIT_DYNAMIC_CALL                                            ~5
          7        SEND_VAL_EX                                                  'x'
          8        DO_FCALL                                          0          
          9      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
285.01 ms | 3259 KiB | 14 Q