3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.5 ms | 1395 KiB | 17 Q