note 28635 rejected from function.ereg by victor

From: Date: Sun, 19 Jan 2003 00:54:17 +0000
Subject: note 28635 rejected from function.ereg by victor
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-42368@lists.php.net to get a copy of this message
If I write $test = "01"; ereg("0",$test); ereg return TRUE but if y write $test = 01; //none "" for numeric ereg("0",$test); ereg return FALSE ! How make to ereg return TRUE in the second example. (With none " ) (sorry if my english it's not terrible).

« previous php.notes (#42368) next »