3v4l.org

run code in 300+ PHP versions simultaneously
<?php $today = strtotime('midnight'); $tomorrow = strtotime('+1 day'); var_dump(date('Y-m-d H:i:s', $today)); var_dump(date('Y-m-d H:i:s', $tomorrow));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/QZWGr
function name:  (null)
number of ops:  23
compiled vars:  !0 = $today, !1 = $tomorrow
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'strtotime'
          1        SEND_VAL                                                 'midnight'
          2        DO_ICALL                                         $2      
          3        ASSIGN                                                   !0, $2
    3     4        INIT_FCALL                                               'strtotime'
          5        SEND_VAL                                                 '%2B1+day'
          6        DO_ICALL                                         $4      
          7        ASSIGN                                                   !1, $4
    6     8        INIT_FCALL                                               'var_dump'
          9        INIT_FCALL                                               'date'
         10        SEND_VAL                                                 'Y-m-d+H%3Ai%3As'
         11        SEND_VAR                                                 !0
         12        DO_ICALL                                         $6      
         13        SEND_VAR                                                 $6
         14        DO_ICALL                                                 
    7    15        INIT_FCALL                                               'var_dump'
         16        INIT_FCALL                                               'date'
         17        SEND_VAL                                                 'Y-m-d+H%3Ai%3As'
         18        SEND_VAR                                                 !1
         19        DO_ICALL                                         $8      
         20        SEND_VAR                                                 $8
         21        DO_ICALL                                                 
         22      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
175.17 ms | 1395 KiB | 19 Q