3v4l.org

run code in 300+ PHP versions simultaneously
<?php $r = sscanf(' ', '%c%n', $c, $n) and var_dump(compact('r', 'c', 'n'));
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 8, Position 2 = 17
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 17
filename:       /in/9E2d1
function name:  (null)
number of ops:  18
compiled vars:  !0 = $r, !1 = $c, !2 = $n
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'sscanf'
          1        SEND_VAL                                                 '+++++'
          2        SEND_VAL                                                 '%25c%25n'
          3        SEND_REF                                                 !1
          4        SEND_REF                                                 !2
          5        DO_ICALL                                         $3      
          6        ASSIGN                                           ~4      !0, $3
          7      > JMPZ_EX                                          ~4      ~4, ->17
    4     8    >   INIT_FCALL                                               'var_dump'
          9        INIT_FCALL                                               'compact'
         10        SEND_VAL                                                 'r'
         11        SEND_VAL                                                 'c'
         12        SEND_VAL                                                 'n'
         13        DO_ICALL                                         $5      
         14        SEND_VAR                                                 $5
         15        DO_ICALL                                         $6      
         16        BOOL                                             ~4      $6
         17    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
482.33 ms | 1003 KiB | 16 Q