3v4l.org

run code in 300+ PHP versions simultaneously
<?php $interval = new \DateInterval('P10M'); var_dump(property_exists($interval, 'm')); $x = $interval; var_dump(property_exists($interval, 'm')); echo '¯\_(ツ)_/¯' . PHP_EOL;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/v9voH
function name:  (null)
number of ops:  21
compiled vars:  !0 = $interval, !1 = $x
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   NEW                                              $2      'DateInterval'
          1        SEND_VAL_EX                                              'P10M'
          2        DO_FCALL                                      0          
          3        ASSIGN                                                   !0, $2
    5     4        INIT_FCALL                                               'var_dump'
          5        INIT_FCALL                                               'property_exists'
          6        SEND_VAR                                                 !0
          7        SEND_VAL                                                 'm'
          8        DO_ICALL                                         $5      
          9        SEND_VAR                                                 $5
         10        DO_ICALL                                                 
    7    11        ASSIGN                                                   !1, !0
    9    12        INIT_FCALL                                               'var_dump'
         13        INIT_FCALL                                               'property_exists'
         14        SEND_VAR                                                 !0
         15        SEND_VAL                                                 'm'
         16        DO_ICALL                                         $8      
         17        SEND_VAR                                                 $8
         18        DO_ICALL                                                 
   11    19        ECHO                                                     '%C2%AF%5C_%28%E3%83%84%29_%2F%C2%AF%0A'
         20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.84 ms | 1395 KiB | 17 Q