3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public static $FOO = 1; } $foo = Foo::FOO; $bar = 1; var_dump( ($foo === $bar) );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/YE4F7
function name:  (null)
number of ops:  8
compiled vars:  !0 = $foo, !1 = $bar
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   FETCH_CLASS_CONSTANT                             ~2      'Foo', 'FOO'
          1        ASSIGN                                                   !0, ~2
    8     2        ASSIGN                                                   !1, 1
    9     3        INIT_FCALL                                               'var_dump'
   10     4        IS_IDENTICAL                                     ~5      !0, !1
          5        SEND_VAL                                                 ~5
          6        DO_ICALL                                                 
   11     7      > RETURN                                                   1

Class Foo: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.86 ms | 1394 KiB | 15 Q