3v4l.org

run code in 300+ PHP versions simultaneously
<?php sprintf("%1$d %1$s", 10.1);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/NTFp5
function name:  (null)
number of ops:  9
compiled vars:  !0 = $d, !1 = $s
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'sprintf'
          1        ROPE_INIT                                     4  ~3      '%251'
          2        ROPE_ADD                                      1  ~3      ~3, !0
          3        ROPE_ADD                                      2  ~3      ~3, '+%251'
          4        ROPE_END                                      3  ~2      ~3, !1
          5        SEND_VAL                                                 ~2
          6        SEND_VAL                                                 10.1
          7        DO_ICALL                                                 
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.96 ms | 1398 KiB | 15 Q