3v4l.org

run code in 300+ PHP versions simultaneously
<?php $month=12; $year=2014; $thisContract['startDate']='2014-12-31'; $hasntStarted = (strtotime($month.'/1/'.$year)<=strtotime($thisContract['startDate'])); echo $hasntStarted;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/LcP9n
function name:  (null)
number of ops:  17
compiled vars:  !0 = $month, !1 = $year, !2 = $thisContract, !3 = $hasntStarted
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 12
    3     1        ASSIGN                                                   !1, 2014
    4     2        ASSIGN_DIM                                               !2, 'startDate'
          3        OP_DATA                                                  '2014-12-31'
    6     4        INIT_FCALL                                               'strtotime'
          5        CONCAT                                           ~7      !0, '%2F1%2F'
          6        CONCAT                                           ~8      ~7, !1
          7        SEND_VAL                                                 ~8
          8        DO_ICALL                                         $9      
          9        INIT_FCALL                                               'strtotime'
         10        FETCH_DIM_R                                      ~10     !2, 'startDate'
         11        SEND_VAL                                                 ~10
         12        DO_ICALL                                         $11     
         13        IS_SMALLER_OR_EQUAL                              ~12     $9, $11
         14        ASSIGN                                                   !3, ~12
    8    15        ECHO                                                     !3
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.12 ms | 1386 KiB | 15 Q