3v4l.org

run code in 500+ PHP versions simultaneously
<?php $s = sprintf('%03d', 12); echo $s, PHP_EOL;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/aROnh
function name:  (null)
number of ops:  8
compiled vars:  !0 = $s
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                                   'sprintf'
          1        SEND_VAL                                                     '%2503d'
          2        SEND_VAL                                                     12
          3        DO_ICALL                                             $1      
          4        ASSIGN                                                       !0, $1
    4     5        ECHO                                                         !0
          6        ECHO                                                         '%0A'
    5     7      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
159.93 ms | 3283 KiB | 14 Q