Doc #54153 [NEW]: Strlen when called on an array ini php 5.3
| From: | ghensley at gmail dot com | Date: | Thu, 03 Mar 2011 19:52:03 +0000 |
| Subject: | Doc #54153 [NEW]: Strlen when called on an array ini php 5.3 | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-6047@lists.php.net to get a copy of this message | ||
From:
Operating system: redhat
PHP version: 5.3SVN-2011-03-03 (SVN)
Package: Documentation problem
Bug Type: Documentation Problem
Bug description:Strlen when called on an array ini php 5.3
Description:
------------
---
From manual page: http://www.php.net/function.strlen#Description
---
I found a "bug" when upgrading from php 5.2.9.
In 5.2.9 stelen when invoked on an array would return the size of the
array
In 5.3.3 strlen when invoked on an array returns null
This behavior was sort of unexpected. The documentation might want to
reflect the change - or the function should maybe throw a warning or
error.
--
Edit bug report at http://bugs.php.net/bug.php?id=54153&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=54153&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=54153&r=trysnapshot53
Try a snapshot (trunk): http://bugs.php.net/fix.php?id=54153&r=trysnapshottrunk
Fixed in SVN: http://bugs.php.net/fix.php?id=54153&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=54153&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=54153&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=54153&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=54153&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=54153&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=54153&r=support
Expected behavior: http://bugs.php.net/fix.php?id=54153&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=54153&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=54153&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=54153&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=54153&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=54153&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=54153&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=54153&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=54153&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=54153&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=54153&r=mysqlcfg