3v4l.org

run code in 300+ PHP versions simultaneously
<?php $t = "audio/x-wav-chunk; index=10"; list($c) = sscanf($t, 'index=%d'); print_r($c);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/FLCEd
function name:  (null)
number of ops:  12
compiled vars:  !0 = $t, !1 = $c
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'audio%2Fx-wav-chunk%3B+index%3D10'
    3     1        INIT_FCALL                                               'sscanf'
          2        SEND_VAR                                                 !0
          3        SEND_VAL                                                 'index%3D%25d'
          4        DO_ICALL                                         $3      
          5        FETCH_LIST_R                                     $4      $3, 0
          6        ASSIGN                                                   !1, $4
          7        FREE                                                     $3
    4     8        INIT_FCALL                                               'print_r'
          9        SEND_VAR                                                 !1
         10        DO_ICALL                                                 
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.34 ms | 1385 KiB | 17 Q