3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A{ public static $stuff; } var_dump(property_exists("A", "stuff")); var_dump(A::$stuff); unset(A::$stuff); var_dump(property_exists("A", "stuff")); var_dump(A::$stuff);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/RYW8H
function name:  (null)
number of ops:  24
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'property_exists'
          2        SEND_VAL                                                 'A'
          3        SEND_VAL                                                 'stuff'
          4        DO_ICALL                                         $0      
          5        SEND_VAR                                                 $0
          6        DO_ICALL                                                 
    9     7        INIT_FCALL                                               'var_dump'
          8        FETCH_STATIC_PROP_R          unknown             ~2      'stuff'
          9        SEND_VAL                                                 ~2
         10        DO_ICALL                                                 
   10    11        UNSET_STATIC_PROP                                        'stuff', 'A'
   11    12        INIT_FCALL                                               'var_dump'
         13        INIT_FCALL                                               'property_exists'
         14        SEND_VAL                                                 'A'
         15        SEND_VAL                                                 'stuff'
         16        DO_ICALL                                         $4      
         17        SEND_VAR                                                 $4
         18        DO_ICALL                                                 
   12    19        INIT_FCALL                                               'var_dump'
         20        FETCH_STATIC_PROP_R          unknown             ~6      'stuff'
         21        SEND_VAL                                                 ~6
         22        DO_ICALL                                                 
         23      > RETURN                                                   1

Class A: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
167.07 ms | 1399 KiB | 17 Q