3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(new DateTime('first day of april 2016', new DateTimeZone('Europe/Paris'))); var_dump(new DateTime('first day of may 2016', new DateTimeZone('Europe/Paris')));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/PDXM3
function name:  (null)
number of ops:  21
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'var_dump'
          1        NEW                                              $0      'DateTime'
          2        SEND_VAL_EX                                              'first+day+of+april+2016'
          3        NEW                                              $1      'DateTimeZone'
          4        SEND_VAL_EX                                              'Europe%2FParis'
          5        DO_FCALL                                      0          
          6        SEND_VAR_NO_REF_EX                                       $1
          7        DO_FCALL                                      0          
          8        SEND_VAR                                                 $0
          9        DO_ICALL                                                 
    3    10        INIT_FCALL                                               'var_dump'
         11        NEW                                              $5      'DateTime'
         12        SEND_VAL_EX                                              'first+day+of+may+2016'
         13        NEW                                              $6      'DateTimeZone'
         14        SEND_VAL_EX                                              'Europe%2FParis'
         15        DO_FCALL                                      0          
         16        SEND_VAR_NO_REF_EX                                       $6
         17        DO_FCALL                                      0          
         18        SEND_VAR                                                 $5
         19        DO_ICALL                                                 
         20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
239.18 ms | 1074 KiB | 14 Q