|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-06-20 12:07 UTC] sander@php.net
[2002-06-20 12:30 UTC] cusaacb at squared dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 01 15:00:01 2025 UTC |
// correct behavior $arr = array(); $arr[0] = "One"; $arr[1] = "Two"; $arr[2] = "Three"; print "Normal:   "; print sizeof($arr) . "<BR><BR>"; //show bug $rs = mssql_query("select '1' as one, '2' as two, '3' as three from tablename"); $sqlarr = mssql_fetch_array($rs); print "Bug:         "; //----- HERES THE BUG print sizeof($sqlarr) . "\n"; ./configure --prefix=/usr/local/php --with-sybase=/usr/local/freetds --with-pgsql=/usr/local/pgsql --with-apxs2=/usr/local/apache2/bin/apxs