3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $number = 9; $str = "Beijing"; $txt = sprintf("There are %u million bicycles in %s.",$number,$str); echo $txt; echo "here";
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = -2
filename:       /in/uK5oW
function name:  (null)
number of ops:  11
compiled vars:  !0 = $number, !1 = $str, !2 = $txt
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   3     0  E >   ASSIGN                                                   !0, 9
   4     1        ASSIGN                                                   !1, 'Beijing'
   5     2        INIT_FCALL                                               'sprintf'
         3        SEND_VAL                                                 'There+are+%25u+million+bicycles+in+%25s.'
         4        SEND_VAR                                                 !0
         5        SEND_VAR                                                 !1
         6        DO_ICALL                                         $5      
         7        ASSIGN                                                   !2, $5
   6     8        ECHO                                                     !2
   8     9        ECHO                                                     'here'
        10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.2.0