[TYPO3-core] RFC: T3-speedup preg insted of ereg

Martin Kutschker Martin.Kutschker at blackbox.net
Tue Dec 27 15:58:25 CET 2005


Bernhard Kraft <kraftb at kraftb.at> writes on 
Sun, 25 Dec 2005 18:07:27 +0100 (MET):

> 
> You can only check for "false" using === AFAIK.


No, you can compare anything you like. But the very first test is the type of the compaed elements. eg

$a = 1
$b = "1"

$a == $b => true
$a === $b => false

Masi 



More information about the TYPO3-team-core mailing list