3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A {} file_put_contents("/tmp/include-test-A.php", "class A { }"); include("/tmp/include-test-A.php"); $a = new \A(); file_put_contents("/tmp/include-test-B.php", "class B { }"); include("/tmp/include-test-B.php"); $b = new \B();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/VhfvH
function name:  (null)
number of ops:  17
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'file_put_contents'
          1        SEND_VAL                                                 '%2Ftmp%2Finclude-test-A.php'
          2        SEND_VAL                                                 'class+A+%7B+%7D'
          3        DO_ICALL                                                 
    3     4        INCLUDE_OR_EVAL                                          '%2Ftmp%2Finclude-test-A.php', INCLUDE
    4     5        NEW                                              $4      'A'
          6        DO_FCALL                                      0          
          7        ASSIGN                                                   !0, $4
    6     8        INIT_FCALL                                               'file_put_contents'
          9        SEND_VAL                                                 '%2Ftmp%2Finclude-test-B.php'
         10        SEND_VAL                                                 'class+B+%7B+%7D'
         11        DO_ICALL                                                 
    7    12        INCLUDE_OR_EVAL                                          '%2Ftmp%2Finclude-test-B.php', INCLUDE
    8    13        NEW                                              $9      'B'
         14        DO_FCALL                                      0          
         15        ASSIGN                                                   !1, $9
         16      > RETURN                                                   1

Class A: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.73 ms | 1394 KiB | 15 Q