3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo sprintf('third arg: %s$3 first arg: %s$1 second arg: %s$2', 'foo', 'bar', 'baz');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/0aHK8
function name:  (null)
number of ops:  8
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'sprintf'
          1        SEND_VAL                                                 'third+arg%3A+%25s%243+first+arg%3A+%25s%241+second+arg%3A+%25s%242'
          2        SEND_VAL                                                 'foo'
          3        SEND_VAL                                                 'bar'
          4        SEND_VAL                                                 'baz'
          5        DO_ICALL                                         $0      
          6        ECHO                                                     $0
          7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
174.25 ms | 1393 KiB | 15 Q