|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2014-08-28 21:00 UTC] aharvey@php.net
-Status: Open
+Status: Not a bug
[2014-08-28 21:00 UTC] aharvey@php.net
[2014-08-28 21:04 UTC] jhackwell at docmagic dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Dec 13 22:00:01 2025 UTC |
Description: ------------ The in_array function does not seem to be able to find the word 'array' inside an array. Test script: --------------- $arr = array( '​array', ); echo in_array('array', $arr) ? 'it\'s there' : 'it\'s not there'; Expected result: ---------------- it's there Actual result: -------------- it's not there