3v4l.org

run code in 300+ PHP versions simultaneously
<?php $date = '2014-12-02'; $format = 'Y-m-d'; echo date($format,strtotime($date));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/6c4FT
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, '2014-12-02'
    4     1        ASSIGN                                                   !1, 'Y-m-d'
    5     2        INIT_FCALL                                               'date'
          3        SEND_VAR                                                 !1
          4        INIT_FCALL                                               'strtotime'
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                         $4      
          7        SEND_VAR                                                 $4
          8        DO_ICALL                                         $5      
          9        ECHO                                                     $5
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.46 ms | 1385 KiB | 17 Q