3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo intval('2014年'); echo ' # '; echo date('Y年', strtotime('2014年'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/5Oh1b
function name:  (null)
number of ops:  12
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   CAST                                          4  ~0      '2014%E5%B9%B4'
          1        ECHO                                                     ~0
    4     2        ECHO                                                     '+%23+'
    5     3        INIT_FCALL                                               'date'
          4        SEND_VAL                                                 'Y%E5%B9%B4'
          5        INIT_FCALL                                               'strtotime'
          6        SEND_VAL                                                 '2014%E5%B9%B4'
          7        DO_ICALL                                         $1      
          8        SEND_VAR                                                 $1
          9        DO_ICALL                                         $2      
         10        ECHO                                                     $2
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.4 ms | 1394 KiB | 17 Q