3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo "test" . "\n"; $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/bvpc7
function name:  (null)
number of ops:  13
compiled vars:  !0 = $time, !1 = $newformat
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ECHO                                                     'test%0A'
    4     1        INIT_FCALL                                               'strtotime'
          2        SEND_VAL                                                 '11%2F28%2F1975'
          3        DO_ICALL                                         $2      
          4        ASSIGN                                                   !0, $2
    6     5        INIT_FCALL                                               'date'
          6        SEND_VAL                                                 'Y-m-d'
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                         $4      
          9        ASSIGN                                                   !1, $4
    8    10        ADD                                              ~6      !1, '%3Cbr+%2F%3E'
         11        ECHO                                                     ~6
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
175.34 ms | 1394 KiB | 17 Q