3v4l.org

run code in 500+ 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.5.0


preferences:
163.64 ms | 3422 KiB | 14 Q