3v4l.org

run code in 300+ PHP versions simultaneously
<?php $promo_date = array( 'start' => '2016-03-25 00:00:00', 'end' => '2016-05-31 23:59:59' ); $time = time(); var_dump($time >= strtotime($promo_date['start']));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/M7orP
function name:  (null)
number of ops:  13
compiled vars:  !0 = $promo_date, !1 = $time
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSIGN                                                   !0, <array>
    9     1        INIT_FCALL                                               'time'
          2        DO_ICALL                                         $3      
          3        ASSIGN                                                   !1, $3
   11     4        INIT_FCALL                                               'var_dump'
          5        INIT_FCALL                                               'strtotime'
          6        FETCH_DIM_R                                      ~5      !0, 'start'
          7        SEND_VAL                                                 ~5
          8        DO_ICALL                                         $6      
          9        IS_SMALLER_OR_EQUAL                              ~7      $6, !1
         10        SEND_VAL                                                 ~7
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.06 ms | 1394 KiB | 19 Q