3v4l.org

run code in 300+ PHP versions simultaneously
<?php $interval = new \DateInterval('P10M'); var_dump(property_exists($interval, 'm')); var_dump($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/ZT1Hg
function name:  (null)
number of ops:  23
compiled vars:  !0 = $interval
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   NEW                                              $1      'DateInterval'
          1        SEND_VAL_EX                                              'P10M'
          2        DO_FCALL                                      0          
          3        ASSIGN                                                   !0, $1
    5     4        INIT_FCALL                                               'var_dump'
          5        INIT_FCALL                                               'property_exists'
          6        SEND_VAR                                                 !0
          7        SEND_VAL                                                 'm'
          8        DO_ICALL                                         $4      
          9        SEND_VAR                                                 $4
         10        DO_ICALL                                                 
    7    11        INIT_FCALL                                               'var_dump'
         12        SEND_VAR                                                 !0
         13        DO_ICALL                                                 
    9    14        INIT_FCALL                                               'var_dump'
         15        INIT_FCALL                                               'property_exists'
         16        SEND_VAR                                                 !0
         17        SEND_VAL                                                 'm'
         18        DO_ICALL                                         $7      
         19        SEND_VAR                                                 $7
         20        DO_ICALL                                                 
   11    21        ECHO                                                     '%C2%AF%5C_%28%E3%83%84%29_%2F%C2%AF%0A'
         22      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.08 ms | 1395 KiB | 17 Q