3v4l.org

run code in 300+ PHP versions simultaneously
<?php $date = '2013-01-01 11:00 am'; echo date('Y年n月j日 h:i a', strtotime($date));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/r6jAu
function name:  (null)
number of ops:  10
compiled vars:  !0 = $date
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '2013-01-01+11%3A00+am'
    3     1        INIT_FCALL                                               'date'
          2        SEND_VAL                                                 'Y%E5%B9%B4n%E6%9C%88j%E6%97%A5+h%3Ai+a'
          3        INIT_FCALL                                               'strtotime'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $2      
          6        SEND_VAR                                                 $2
          7        DO_ICALL                                         $3      
          8        ECHO                                                     $3
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
145.64 ms | 1393 KiB | 17 Q