3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo intval('2014年'); echo ' # '; echo date('Y年', strtotime(intval('2014年')));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/aZ2oT
function name:  (null)
number of ops:  13
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        CAST                                          4  ~1      '2014%E5%B9%B4'
          7        SEND_VAL                                                 ~1
          8        DO_ICALL                                         $2      
          9        SEND_VAR                                                 $2
         10        DO_ICALL                                         $3      
         11        ECHO                                                     $3
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.7 ms | 1398 KiB | 17 Q