3v4l.org

run code in 300+ PHP versions simultaneously
<?php $d1 = '2014-08-05 20:30:11'; $d2 = '2014-08-07 17:35:21'; $t1 = strtotime($d1); $t1 = strtotime('3 days ago'); $t2 = strtotime($d2); echo $t1."\t\r\n"; echo $t2."\t\r\n"; echo ($t2 > $t1)."\t\r\n";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/dMHsa
function name:  (null)
number of ops:  22
compiled vars:  !0 = $d1, !1 = $d2, !2 = $t1, !3 = $t2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '2014-08-05+20%3A30%3A11'
    3     1        ASSIGN                                                   !1, '2014-08-07+17%3A35%3A21'
    5     2        INIT_FCALL                                               'strtotime'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $6      
          5        ASSIGN                                                   !2, $6
    6     6        INIT_FCALL                                               'strtotime'
          7        SEND_VAL                                                 '3+days+ago'
          8        DO_ICALL                                         $8      
          9        ASSIGN                                                   !2, $8
    7    10        INIT_FCALL                                               'strtotime'
         11        SEND_VAR                                                 !1
         12        DO_ICALL                                         $10     
         13        ASSIGN                                                   !3, $10
    8    14        CONCAT                                           ~12     !2, '%09%0D%0A'
         15        ECHO                                                     ~12
    9    16        CONCAT                                           ~13     !3, '%09%0D%0A'
         17        ECHO                                                     ~13
   10    18        IS_SMALLER                                       ~14     !2, !3
         19        CONCAT                                           ~15     ~14, '%09%0D%0A'
         20        ECHO                                                     ~15
         21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.22 ms | 1399 KiB | 16 Q