php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #43623 variables_order parameter is ignored
Submitted: 2007-12-18 12:24 UTC Modified: 2007-12-22 17:22 UTC
From: denis_test at freemail dot ru Assigned:
Status: Not a bug Package: *General Issues
PHP Version: 5.2.5 OS: Linux 2.6.18-8.el
Private report: No CVE-ID: None
 [2007-12-18 12:24 UTC] denis_test at freemail dot ru
Description:
------------
Function strlen changed its behavior for arrays

Reproduce code:
---------------
echo strlen(array(1));

Expected result:
----------------
5

/this was the result in all older php versions/

Actual result:
--------------
empty

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-12-22 17:22 UTC] jani@php.net
That is invalid code. No bug here.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Fri Aug 15 12:00:03 2025 UTC