3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "123 Fab Test"; for ($i = 0; $i<10000; $i++) { sscanf($str, "%d %s %s", $id, $first, $last); echo $id, $first, $last, PHP_EOL; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 15
Branch analysis from position: 15
2 jumps found. (Code = 44) Position 1 = 17, Position 2 = 3
Branch analysis from position: 17
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 3
2 jumps found. (Code = 44) Position 1 = 17, Position 2 = 3
Branch analysis from position: 17
Branch analysis from position: 3
filename:       /in/4K5oR
function name:  (null)
number of ops:  18
compiled vars:  !0 = $str, !1 = $i, !2 = $id, !3 = $first, !4 = $last
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '123+Fab+Test'
    5     1        ASSIGN                                                   !1, 0
          2      > JMP                                                      ->15
    6     3    >   INIT_FCALL                                               'sscanf'
          4        SEND_VAR                                                 !0
          5        SEND_VAL                                                 '%25d+%25s+%25s'
          6        SEND_REF                                                 !2
          7        SEND_REF                                                 !3
          8        SEND_REF                                                 !4
          9        DO_ICALL                                                 
    7    10        ECHO                                                     !2
         11        ECHO                                                     !3
         12        ECHO                                                     !4
         13        ECHO                                                     '%0A'
    5    14        PRE_INC                                                  !1
         15    >   IS_SMALLER                                               !1, 10000
         16      > JMPNZ                                                    ~9, ->3
    8    17    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
141.99 ms | 1395 KiB | 15 Q