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); $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/U3E25
function name:  (null)
number of ops:  26
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
    9    12        INIT_FCALL                                               'strtotime'
         13        SEND_VAL                                                 'first+Sunday+of+April+%2B2+hours'
         14        SEND_VAL                                                 1428220800
         15        DO_ICALL                                         $5      
         16        ASSIGN                                                   !0, $5
   10    17        CONCAT                                           ~7      '%0A', !0
         18        ECHO                                                     ~7
   11    19        INIT_FCALL                                               'date'
         20        SEND_VAL                                                 'Y-m-d%5CTH%3Ai%3As'
         21        SEND_VAL                                                 1428192000
         22        DO_ICALL                                         $8      
         23        CONCAT                                           ~9      '%0A', $8
         24        ECHO                                                     ~9
         25      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
183 ms | 1395 KiB | 17 Q