3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(((date("n", 1499697026) == date("n")) && (date("Y", 1499697026) == date("Y"))) ? true : false);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 10, Position 2 = 19
Branch analysis from position: 10
2 jumps found. (Code = 43) Position 1 = 20, Position 2 = 22
Branch analysis from position: 20
1 jumps found. (Code = 42) Position 1 = 23
Branch analysis from position: 23
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 22
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 19
filename:       /in/nCair
function name:  (null)
number of ops:  26
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'date'
          2        SEND_VAL                                                 'n'
          3        SEND_VAL                                                 1499697026
          4        DO_ICALL                                         $0      
          5        INIT_FCALL                                               'date'
          6        SEND_VAL                                                 'n'
          7        DO_ICALL                                         $1      
          8        IS_EQUAL                                         ~2      $0, $1
          9      > JMPZ_EX                                          ~2      ~2, ->19
         10    >   INIT_FCALL                                               'date'
         11        SEND_VAL                                                 'Y'
         12        SEND_VAL                                                 1499697026
         13        DO_ICALL                                         $3      
         14        INIT_FCALL                                               'date'
         15        SEND_VAL                                                 'Y'
         16        DO_ICALL                                         $4      
         17        IS_EQUAL                                         ~5      $3, $4
         18        BOOL                                             ~2      ~5
         19    > > JMPZ                                                     ~2, ->22
         20    >   QM_ASSIGN                                        ~6      <true>
         21      > JMP                                                      ->23
         22    >   QM_ASSIGN                                        ~6      <false>
         23    >   SEND_VAL                                                 ~6
         24        DO_ICALL                                                 
         25      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
204.87 ms | 1395 KiB | 17 Q