3v4l.org

run code in 300+ PHP versions simultaneously
<?php function wut($date){ $timestamp = strtotime('22/07/2014'); $date = date('Y/M/d',$timestamp); echo $date; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/sRt3I
function name:  (null)
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   12     0  E > > RETURN                                                   1

Function wut:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/sRt3I
function name:  wut
number of ops:  12
compiled vars:  !0 = $date, !1 = $timestamp
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV                                             !0      
    5     1        INIT_FCALL                                               'strtotime'
          2        SEND_VAL                                                 '22%2F07%2F2014'
          3        DO_ICALL                                         $2      
          4        ASSIGN                                                   !1, $2
    7     5        INIT_FCALL                                               'date'
          6        SEND_VAL                                                 'Y%2FM%2Fd'
          7        SEND_VAR                                                 !1
          8        DO_ICALL                                         $4      
          9        ASSIGN                                                   !0, $4
    9    10        ECHO                                                     !0
   12    11      > RETURN                                                   null

End of function wut

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.27 ms | 1394 KiB | 17 Q