If the first four characters are "0000", then do {}

From: Date: Tue, 26 Jan 2010 02:36:50 +0000
Subject: If the first four characters are "0000", then do {}
Groups: php.general 
Request: Send a blank email to php-general+get-301442@lists.php.net to get a copy of this message
I am reading the manual: http://ca.php.net/manual/en/ref.strings.php $mydata->restored = "0000-00-00"; How do I express this? If the first four characters are "0000", then do {} What I am looking for is in strpos(), no? if (????????????) { }

« previous php.general (#301442) next »