3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo "here"; $number = 9; $str = "Beijing"; $txt = sprintf("There are %u million bicycles in %s.",$number,$str); echo $txt;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Mo70V
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 >   ECHO                                                     'here'
    4     1        ASSIGN                                                   !0, 9
    5     2        ASSIGN                                                   !1, 'Beijing'
    6     3        INIT_FCALL                                               'sprintf'
          4        SEND_VAL                                                 'There+are+%25u+million+bicycles+in+%25s.'
          5        SEND_VAR                                                 !0
          6        SEND_VAR                                                 !1
          7        DO_ICALL                                         $5      
          8        ASSIGN                                                   !2, $5
    7     9        ECHO                                                     !2
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.81 ms | 1394 KiB | 15 Q