Re: note 11250 added to strtolower

From: Date: Tue, 13 Feb 2001 04:05:39 +0000
Subject: Re: note 11250 added to strtolower
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-10971@lists.php.net to get a copy of this message
Print (and echo) are language constructs, not functions. They can be written as: print "foo"; or print ("foo"); They are equivalent, hence no error. Suggest checking php.faqts.com http://www.faqts.com/knowledge_base/view.phtml/aid/1/fid/40 Your note will be removed --- ian@php2.chek.com, at@php2.chek.com, coogr@php2.chek.com, dot@php2.chek.com, net@php2.chek.com wrote: > The above example has an error > > print $str; > > should be > > print($str); > > I do believe that the parentheses are required. > > --- > Ian > ian@coogr.net > > > http://www.php.net/manual/en/function.strtolower.php > > > > -- > PHP Notes Mailing List (http://www.php.net/) > To unsubscribe, e-mail: > php-notes-unsubscribe@lists.php.net > For additional commands, e-mail: > php-notes-help@lists.php.net > To contact the list administrators, e-mail: > php-list-admin@lists.php.net > ===== --- Jesus M. Castagnetto <jmcastagnetto@php.net> __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/

« previous php.notes (#10971) next »