3v4l.org

run code in 300+ PHP versions simultaneously
<?php $count = sscanf('1234-11-33', '%d-%d', $year, $month); var_dump($year, $month, $count);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/hSQ9e
function name:  (null)
number of ops:  13
compiled vars:  !0 = $count, !1 = $year, !2 = $month
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'sscanf'
          1        SEND_VAL                                                 '1234-11-33'
          2        SEND_VAL                                                 '%25d-%25d'
          3        SEND_REF                                                 !1
          4        SEND_REF                                                 !2
          5        DO_ICALL                                         $3      
          6        ASSIGN                                                   !0, $3
    3     7        INIT_FCALL                                               'var_dump'
          8        SEND_VAR                                                 !1
          9        SEND_VAR                                                 !2
         10        SEND_VAR                                                 !0
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.32 ms | 1394 KiB | 17 Q