3v4l.org

run code in 300+ PHP versions simultaneously
<?php class X { public $a = 'a'; } $x = new X(); echo "abc/{$x->a}/def";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/fKaA9
function name:  (null)
number of ops:  9
compiled vars:  !0 = $x
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   NEW                                              $1      'X'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
    8     3        ROPE_INIT                                     3  ~6      'abc%2F'
          4        FETCH_OBJ_R                                      ~4      !0, 'a'
          5        ROPE_ADD                                      1  ~6      ~6, ~4
          6        ROPE_END                                      2  ~5      ~6, '%2Fdef'
          7        ECHO                                                     ~5
          8      > RETURN                                                   1

Class X: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.57 ms | 1392 KiB | 13 Q