3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = vsprintf("%04d-%02d-%02d", explode('-', '1988-8-1')); // 1988-08-01 echo "đây", $a;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/VpPQt
function name:  (null)
number of ops:  12
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'vsprintf'
          1        SEND_VAL                                                 '%2504d-%2502d-%2502d'
          2        INIT_FCALL                                               'explode'
          3        SEND_VAL                                                 '-'
          4        SEND_VAL                                                 '1988-8-1'
          5        DO_ICALL                                         $1      
          6        SEND_VAR                                                 $1
          7        DO_ICALL                                         $2      
          8        ASSIGN                                                   !0, $2
    5     9        ECHO                                                     '%C4%91%C3%A2y'
         10        ECHO                                                     !0
    6    11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
142.88 ms | 1394 KiB | 17 Q