3v4l.org

run code in 300+ PHP versions simultaneously
<?php $date1 = "22/07/2014"; $time1 = "12:05"; $date3 = $date1 . ' ' . $time1; $date4 = strtotime($date3); if(time()>$date4) echo 'passed';
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 13, Position 2 = 14
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 14
filename:       /in/vMW94
function name:  (null)
number of ops:  15
compiled vars:  !0 = $date1, !1 = $time1, !2 = $date3, !3 = $date4
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '22%2F07%2F2014'
    3     1        ASSIGN                                                   !1, '12%3A05'
    4     2        CONCAT                                           ~6      !0, '+'
          3        CONCAT                                           ~7      ~6, !1
          4        ASSIGN                                                   !2, ~7
    5     5        INIT_FCALL                                               'strtotime'
          6        SEND_VAR                                                 !2
          7        DO_ICALL                                         $9      
          8        ASSIGN                                                   !3, $9
    7     9        INIT_FCALL                                               'time'
         10        DO_ICALL                                         $11     
         11        IS_SMALLER                                               !3, $11
         12      > JMPZ                                                     ~12, ->14
         13    >   ECHO                                                     'passed'
         14    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.25 ms | 1394 KiB | 17 Q