3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo "test" . $_newline; $time = strtotime('11/28/1975'); $newformat = date('Y-m-d',$time); echo $newformat + "<br />";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/q39lH
function name:  (null)
number of ops:  14
compiled vars:  !0 = $_newline, !1 = $time, !2 = $newformat
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   CONCAT                                           ~3      'test', !0
          1        ECHO                                                     ~3
    4     2        INIT_FCALL                                               'strtotime'
          3        SEND_VAL                                                 '11%2F28%2F1975'
          4        DO_ICALL                                         $4      
          5        ASSIGN                                                   !1, $4
    6     6        INIT_FCALL                                               'date'
          7        SEND_VAL                                                 'Y-m-d'
          8        SEND_VAR                                                 !1
          9        DO_ICALL                                         $6      
         10        ASSIGN                                                   !2, $6
    8    11        ADD                                              ~8      !2, '%3Cbr+%2F%3E'
         12        ECHO                                                     ~8
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.59 ms | 1385 KiB | 17 Q