3v4l.org

run code in 300+ PHP versions simultaneously
<?php $case = '2day'; echo time().'-'.strtotime("+".$case);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/p9PsX
function name:  (null)
number of ops:  11
compiled vars:  !0 = $case
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '2day'
    3     1        INIT_FCALL                                               'time'
          2        DO_ICALL                                         $2      
          3        CONCAT                                           ~3      $2, '-'
          4        INIT_FCALL                                               'strtotime'
          5        CONCAT                                           ~4      '%2B', !0
          6        SEND_VAL                                                 ~4
          7        DO_ICALL                                         $5      
          8        CONCAT                                           ~6      ~3, $5
          9        ECHO                                                     ~6
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.23 ms | 1385 KiB | 17 Q