3v4l.org

run code in 300+ PHP versions simultaneously
<?php $d = strtotime("1pm"); if($d < time()) $d = strtotime("+1 day",$d); echo date("r",$d);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 8, Position 2 = 13
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 13
filename:       /in/pabV6
function name:  (null)
number of ops:  19
compiled vars:  !0 = $d
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'strtotime'
          1        SEND_VAL                                                 '1pm'
          2        DO_ICALL                                         $1      
          3        ASSIGN                                                   !0, $1
    3     4        INIT_FCALL                                               'time'
          5        DO_ICALL                                         $3      
          6        IS_SMALLER                                               !0, $3
          7      > JMPZ                                                     ~4, ->13
          8    >   INIT_FCALL                                               'strtotime'
          9        SEND_VAL                                                 '%2B1+day'
         10        SEND_VAR                                                 !0
         11        DO_ICALL                                         $5      
         12        ASSIGN                                                   !0, $5
    4    13    >   INIT_FCALL                                               'date'
         14        SEND_VAL                                                 'r'
         15        SEND_VAR                                                 !0
         16        DO_ICALL                                         $7      
         17        ECHO                                                     $7
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.7 ms | 1386 KiB | 19 Q