3v4l.org

run code in 300+ PHP versions simultaneously
<?php $start = new \DateTime('01.10.2015'); $end = new \DateTime('08.10.2015'); $endYesterday = new \DateTime('07.10.2015'); $today = new \DateTome(); var_dump($today >= $start && $today <= $end); var_dump($today >= $start && $today <= $end);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 18, Position 2 = 20
Branch analysis from position: 18
2 jumps found. (Code = 46) Position 1 = 25, Position 2 = 27
Branch analysis from position: 25
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 27
Branch analysis from position: 20
filename:       /in/kmbgV
function name:  (null)
number of ops:  30
compiled vars:  !0 = $start, !1 = $end, !2 = $endYesterday, !3 = $today
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   NEW                                              $4      'DateTime'
          1        SEND_VAL_EX                                              '01.10.2015'
          2        DO_FCALL                                      0          
          3        ASSIGN                                                   !0, $4
    5     4        NEW                                              $7      'DateTime'
          5        SEND_VAL_EX                                              '08.10.2015'
          6        DO_FCALL                                      0          
          7        ASSIGN                                                   !1, $7
    6     8        NEW                                              $10     'DateTime'
          9        SEND_VAL_EX                                              '07.10.2015'
         10        DO_FCALL                                      0          
         11        ASSIGN                                                   !2, $10
    8    12        NEW                                              $13     'DateTome'
         13        DO_FCALL                                      0          
         14        ASSIGN                                                   !3, $13
   10    15        INIT_FCALL                                               'var_dump'
         16        IS_SMALLER_OR_EQUAL                              ~16     !0, !3
         17      > JMPZ_EX                                          ~16     ~16, ->20
         18    >   IS_SMALLER_OR_EQUAL                              ~17     !3, !1
         19        BOOL                                             ~16     ~17
         20    >   SEND_VAL                                                 ~16
         21        DO_ICALL                                                 
   11    22        INIT_FCALL                                               'var_dump'
         23        IS_SMALLER_OR_EQUAL                              ~19     !0, !3
         24      > JMPZ_EX                                          ~19     ~19, ->27
         25    >   IS_SMALLER_OR_EQUAL                              ~20     !3, !1
         26        BOOL                                             ~19     ~20
         27    >   SEND_VAL                                                 ~19
         28        DO_ICALL                                                 
         29      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.16 ms | 1388 KiB | 15 Q