| 
        php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits             
             [2000-12-05 06:15 UTC] sniper@php.net
  [2000-12-07 03:13 UTC] sniper@php.net
  [2001-03-17 00:33 UTC] jmcastagnetto@php.net
  | 
    |||||||||||||||||||||||||||
            
                 
                Copyright © 2001-2025 The PHP GroupAll rights reserved.  | 
        Last updated: Tue Nov 04 12:00:01 2025 UTC | 
Seems to return no TRUE value when using array_pop () on an array returned by a class. Code Example: <? class Form { function parse ($arg) { ereg("(.*)&\[(.?)\]", $arg, $query); return $query; } } $form = new Form; $output = $form->parse($QUERY_STRING); $number = array_pop($output); if ($number) { echo "\$number exists"; } foreach ($output as $tmp) { if (($tmp)&&($tmp != $QUERY_STRING)) { echo "$tmp<Br>"; } } ?>