3v4l.org

run code in 300+ PHP versions simultaneously
<?php $nextWeek = time() + (7 * 24 * 60 * 60); // 7 zile; 24 ore; 60 minute; 60 secunde $dataprodus = '2015-04-24'; echo '<pre>'; echo 'Acum: '. date('Y-m-d') ."\n"; echo 'Săptămâna următoare: '. date('Y-m-d', $nextWeek) ."\n"; //echo 'Săptămâna următoare: '. date('Y-m-d', strtotime('+1 week')) ."\n"; echo $dataprodus; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/I1ler
function name:  (null)
number of ops:  21
compiled vars:  !0 = $nextWeek, !1 = $dataprodus
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_FCALL                                               'time'
          1        DO_ICALL                                         $2      
          2        ADD                                              ~3      $2, 604800
          3        ASSIGN                                                   !0, ~3
    6     4        ASSIGN                                                   !1, '2015-04-24'
    8     5        ECHO                                                     '%3Cpre%3E'
    9     6        INIT_FCALL                                               'date'
          7        SEND_VAL                                                 'Y-m-d'
          8        DO_ICALL                                         $6      
          9        CONCAT                                           ~7      'Acum%3A++++++++++++++++', $6
         10        CONCAT                                           ~8      ~7, '%0A'
         11        ECHO                                                     ~8
   10    12        INIT_FCALL                                               'date'
         13        SEND_VAL                                                 'Y-m-d'
         14        SEND_VAR                                                 !0
         15        DO_ICALL                                         $9      
         16        CONCAT                                           ~10     'S%C4%83pt%C4%83m%C3%A2na+urm%C4%83toare%3A+', $9
         17        CONCAT                                           ~11     ~10, '%0A'
         18        ECHO                                                     ~11
   12    19        ECHO                                                     !1
   14    20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.82 ms | 1395 KiB | 17 Q