3v4l.org

run code in 300+ PHP versions simultaneously
<?php class foobar {} $foo='foo'; $bar='bar'; new ($foo . $bar);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Ccq0s
function name:  (null)
number of ops:  8
compiled vars:  !0 = $foo, !1 = $bar
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSIGN                                                   !0, 'foo'
          1        ASSIGN                                                   !1, 'bar'
          2        CONCAT                                           ~4      !0, !1
          3        FETCH_CLASS                                   0  $5      ~4
          4        NEW                                              $6      $5
          5        DO_FCALL                                      0          
          6        FREE                                                     $6
          7      > RETURN                                                   1

Class foobar: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.43 ms | 1392 KiB | 13 Q