3v4l.org

run code in 300+ PHP versions simultaneously
<?php $html = '<script src="%s/templates/%s/js/vendor/modernizr-2.6.2-respond-1.1.0.min.js"></script>'; echo sprintf($html, 'this', 'that');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/fnDTZ
function name:  (null)
number of ops:  8
compiled vars:  !0 = $html
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%3Cscript+src%3D%22%25s%2Ftemplates%2F%25s%2Fjs%2Fvendor%2Fmodernizr-2.6.2-respond-1.1.0.min.js%22%3E%3C%2Fscript%3E'
    4     1        INIT_FCALL                                               'sprintf'
          2        SEND_VAR                                                 !0
          3        SEND_VAL                                                 'this'
          4        SEND_VAL                                                 'that'
          5        DO_ICALL                                         $2      
          6        ECHO                                                     $2
          7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.23 ms | 1394 KiB | 15 Q