3v4l.org

run code in 300+ PHP versions simultaneously
<?php $var = strtotime('first Sunday of October +2 hours', 1428220800); print $var; echo "\n" . date("Y-m-d\TH:i:s", 1443916800); print "\n\n\n"; $var = strtotime('first Sunday of April +2 hours', 1428220800); print "\n" . $var; echo "\n" . date("Y-m-d\TH:i:s", 1428192000);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/8FUCB
function name:  (null)
number of ops:  27
compiled vars:  !0 = $var
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'strtotime'
          1        SEND_VAL                                                 'first+Sunday+of+October+%2B2+hours'
          2        SEND_VAL                                                 1428220800
          3        DO_ICALL                                         $1      
          4        ASSIGN                                                   !0, $1
    4     5        ECHO                                                     !0
    5     6        INIT_FCALL                                               'date'
          7        SEND_VAL                                                 'Y-m-d%5CTH%3Ai%3As'
          8        SEND_VAL                                                 1443916800
          9        DO_ICALL                                         $3      
         10        CONCAT                                           ~4      '%0A', $3
         11        ECHO                                                     ~4
    7    12        ECHO                                                     '%0A%0A%0A'
    9    13        INIT_FCALL                                               'strtotime'
         14        SEND_VAL                                                 'first+Sunday+of+April+%2B2+hours'
         15        SEND_VAL                                                 1428220800
         16        DO_ICALL                                         $5      
         17        ASSIGN                                                   !0, $5
   10    18        CONCAT                                           ~7      '%0A', !0
         19        ECHO                                                     ~7
   11    20        INIT_FCALL                                               'date'
         21        SEND_VAL                                                 'Y-m-d%5CTH%3Ai%3As'
         22        SEND_VAL                                                 1428192000
         23        DO_ICALL                                         $8      
         24        CONCAT                                           ~9      '%0A', $8
         25        ECHO                                                     ~9
         26      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
173.85 ms | 1395 KiB | 17 Q