3v4l.org

run code in 300+ PHP versions simultaneously
<?php $date = '31/02/2014'; $format = 'd/m/y'; echo $date($format,strtotime($date));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/IjJ06
function name:  (null)
number of ops:  11
compiled vars:  !0 = $date, !1 = $format
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '31%2F02%2F2014'
    4     1        ASSIGN                                                   !1, 'd%2Fm%2Fy'
    5     2        INIT_DYNAMIC_CALL                                        !0
          3        SEND_VAR_EX                                              !1
          4        INIT_FCALL                                               'strtotime'
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                         $4      
          7        SEND_VAR_NO_REF_EX                                       $4
          8        DO_FCALL                                      0  $5      
          9        ECHO                                                     $5
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
173.83 ms | 1394 KiB | 15 Q