3v4l.org

run code in 300+ PHP versions simultaneously
<?php date_default_timezone_set('America/Montreal'); $sd = mktime(12,0,0,2, 7, 2013); var_dump($sd); if ($sd < 1360731600) { echo "agenda_paiement_vieux.php\n"; } else { echo "agenda_paiement_nouv.php\n"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 17, Position 2 = 19
Branch analysis from position: 17
1 jumps found. (Code = 42) Position 1 = 20
Branch analysis from position: 20
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 19
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/cCY3N
function name:  (null)
number of ops:  21
compiled vars:  !0 = $sd
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'date_default_timezone_set'
          1        SEND_VAL                                                 'America%2FMontreal'
          2        DO_ICALL                                                 
    3     3        INIT_FCALL                                               'mktime'
          4        SEND_VAL                                                 12
          5        SEND_VAL                                                 0
          6        SEND_VAL                                                 0
          7        SEND_VAL                                                 2
          8        SEND_VAL                                                 7
          9        SEND_VAL                                                 2013
         10        DO_ICALL                                         $2      
         11        ASSIGN                                                   !0, $2
    4    12        INIT_FCALL                                               'var_dump'
         13        SEND_VAR                                                 !0
         14        DO_ICALL                                                 
    5    15        IS_SMALLER                                               !0, 1360731600
         16      > JMPZ                                                     ~5, ->19
    6    17    >   ECHO                                                     'agenda_paiement_vieux.php%0A'
         18      > JMP                                                      ->20
    9    19    >   ECHO                                                     'agenda_paiement_nouv.php%0A'
   10    20    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.39 ms | 1395 KiB | 19 Q