3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo "test"; $time = strtotime('01/23/2003'); $newformat = date('Y-m-d',$time); echo $newformat;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/3l8NH
function name:  (null)
number of ops:  12
compiled vars:  !0 = $time, !1 = $newformat
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ECHO                                                     'test'
    4     1        INIT_FCALL                                               'strtotime'
          2        SEND_VAL                                                 '01%2F23%2F2003'
          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        ECHO                                                     !1
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.57 ms | 1385 KiB | 17 Q