3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = new DateTime; var_dump($x); define('DateTime', '/r/lolphp'); $e = class_exists(DateTime); var_dump($e);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/jJr4L
function name:  (null)
number of ops:  19
compiled vars:  !0 = $x, !1 = $e
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   NEW                                              $2      'DateTime'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $2
    4     3        INIT_FCALL                                               'var_dump'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                                 
    6     6        INIT_FCALL                                               'define'
          7        SEND_VAL                                                 'DateTime'
          8        SEND_VAL                                                 '%2Fr%2Flolphp'
          9        DO_ICALL                                                 
    8    10        INIT_FCALL                                               'class_exists'
         11        FETCH_CONSTANT                                   ~7      'DateTime'
         12        SEND_VAL                                                 ~7
         13        DO_ICALL                                         $8      
         14        ASSIGN                                                   !1, $8
    9    15        INIT_FCALL                                               'var_dump'
         16        SEND_VAR                                                 !1
         17        DO_ICALL                                                 
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
200.39 ms | 1398 KiB | 19 Q