Mantis - Quercus
Viewing Issue Advanced Details
2059 minor always 10-10-07 17:34 10-15-07 19:04
koreth  
nam  
normal  
closed 3.1.3  
fixed  
none    
none 3.1.4  
0002059: sscanf() doesn't support filling in variables with scanned values
<?php
$count = sscanf("a b 1 2", "%s %s %d %d", $arg1, $arg2, $arg3, $arg4);
print "$count args : $arg1 $arg2 $arg3 $arg4\n";

Vanilla PHP output = "4 args : a b 1 2"
Quercus output = "Array args : "

This form of sscanf() is the second one described on the PHP sscanf manual page.

Notes
(0002346)
nam   
10-15-07 19:04   
php/113k
php/113l
php/113m