3v4l.org

run code in 300+ PHP versions simultaneously
<?php define('EXPIRY_NOTIFICATION_TIME', 60 * 60 * 24 * 14); $now = time(); $s1 = '_date > '; $s2 = ' AND...'; var_dump($now); var_dump(EXPIRY_NOTIFICATION_TIME); var_dump($now + EXPIRY_NOTIFICATION_TIME); $str = $s1 . $now + EXPIRY_NOTIFICATION_TIME . $s2; echo $str;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/D4mp1
function name:  (null)
number of ops:  28
compiled vars:  !0 = $now, !1 = $s1, !2 = $s2, !3 = $str
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'define'
          1        SEND_VAL                                                 'EXPIRY_NOTIFICATION_TIME'
          2        SEND_VAL                                                 1209600
          3        DO_ICALL                                                 
    3     4        INIT_FCALL                                               'time'
          5        DO_ICALL                                         $5      
          6        ASSIGN                                                   !0, $5
    4     7        ASSIGN                                                   !1, '_date+%3E+'
    5     8        ASSIGN                                                   !2, '+AND...'
    6     9        INIT_FCALL                                               'var_dump'
         10        SEND_VAR                                                 !0
         11        DO_ICALL                                                 
    7    12        INIT_FCALL                                               'var_dump'
         13        FETCH_CONSTANT                                   ~10     'EXPIRY_NOTIFICATION_TIME'
         14        SEND_VAL                                                 ~10
         15        DO_ICALL                                                 
    8    16        INIT_FCALL                                               'var_dump'
         17        FETCH_CONSTANT                                   ~12     'EXPIRY_NOTIFICATION_TIME'
         18        ADD                                              ~13     !0, ~12
         19        SEND_VAL                                                 ~13
         20        DO_ICALL                                                 
    9    21        FETCH_CONSTANT                                   ~15     'EXPIRY_NOTIFICATION_TIME'
         22        ADD                                              ~16     !0, ~15
         23        CONCAT                                           ~17     !1, ~16
         24        CONCAT                                           ~18     ~17, !2
         25        ASSIGN                                                   !3, ~18
   10    26        ECHO                                                     !3
         27      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
263.89 ms | 1395 KiB | 20 Q