3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo sprintf('<a href="%1$s">%2$s</a>', 'http://example.com'); echo sprintf('<a href="%1$s">%2$s</a>', 'http://example.com', 'Link Name');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/nu8Ht
function name:  (null)
number of ops:  12
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'sprintf'
          1        SEND_VAL                                                 '%3Ca+href%3D%22%251%24s%22%3E%252%24s%3C%2Fa%3E'
          2        SEND_VAL                                                 'http%3A%2F%2Fexample.com'
          3        DO_ICALL                                         $0      
          4        ECHO                                                     $0
    4     5        INIT_FCALL                                               'sprintf'
          6        SEND_VAL                                                 '%3Ca+href%3D%22%251%24s%22%3E%252%24s%3C%2Fa%3E'
          7        SEND_VAL                                                 'http%3A%2F%2Fexample.com'
          8        SEND_VAL                                                 'Link+Name'
          9        DO_ICALL                                         $1      
         10        ECHO                                                     $1
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
273.76 ms | 1003 KiB | 14 Q