Page 1 of 2
Looking for cheat sheet of php tags
Posted: Mon Jul 10, 2006 2:46 pm
by BMAN
Hello,
Could someone please direct me to a webpage that lists a table of all the common php tags w/ a quick definition next to each one?. I tried searching 'php tags' on Google with no luck.
Thanks a bunch!
Re: Looking for cheat sheet of php tags
Posted: Mon Jul 10, 2006 2:50 pm
by Chris Corbyn
BMAN wrote:Hello,
Could someone please direct me to a webpage that lists a table of all the common php tags w/ a quick definition next to each one?. I tried searching 'php tags' on Google with no luck.
Thanks a bunch!
FYI "php tags" are just <?php ?> and <? ?> and <?= ?>. The latter two being "short tags" and due to be disabled by default.
I guess you mean PHP Functions. ilovejackdaniels.com has some cheatsheets but php.net provides everything you need

Posted: Mon Jul 10, 2006 2:52 pm
by Gambler
due to be disabled by default.
Source?
Posted: Mon Jul 10, 2006 2:55 pm
by Chris Corbyn
Gambler wrote:due to be disabled by default.
Source?
Don't have one sorry... I apologise if that's bad info. Just the rumours I've heard about PHP6 dropping short tags along with some other things. Just general stuff I've seen blogged etc but not officially from PHP/Zend I admit.
Posted: Mon Jul 10, 2006 3:23 pm
by BMAN
How obvious is it that I know absolutely nothing about php?
I'm having someone build a CMS site for me that has alot of php code in it. I don't know anything about php. All I know is HTML. I just assumed that whatever is between brackets in php was called a tag, like with HTML. Anyways, I basically just wanna be able 'read' some of the php code in my site and figure out what it's in reference to.
Thanks for the tips guys.

Posted: Mon Jul 10, 2006 4:01 pm
by Ollie Saunders
Anyways, I basically just wanna be able 'read' some of the php code in my site
PHP manual.
Don't expect to know it all in an afternoon. PHP is a programming language.
Posted: Mon Jul 10, 2006 4:06 pm
by bdlang
Posted: Mon Jul 10, 2006 5:24 pm
by tecktalkcm0391
d11wtq wrote:Gambler wrote:due to be disabled by default.
Source?
Don't have one sorry... I apologise if that's bad info. Just the rumours I've heard about PHP6 dropping short tags along with some other things. Just general stuff I've seen blogged etc but not officially from PHP/Zend I admit.
I got a source to back up d11wtg:
http://www.php.net/~derick/meeting-note ... dd-php-var
Posted: Mon Jul 10, 2006 5:43 pm
by Ollie Saunders
that's a great article btw, worth scanning.
Posted: Mon Jul 10, 2006 6:31 pm
by RobertGonzalez
When in need of something 'PHP cheat sheet related' check out the
'Useful PHP Resources' Topic of
the PHP - Code Forum.
Posted: Mon Jul 10, 2006 6:47 pm
by Gambler
I got a source to back up d11wtg
1. We kill "<%" but keep "<?".
Actually, it contradicts what d11wtg said.
Posted: Mon Jul 10, 2006 6:49 pm
by RobertGonzalez
I think that means that PHP will no longer support ASP style tags.
Posted: Mon Jul 10, 2006 7:00 pm
by shoebappa
Pretty good one-page reference:
http://www.ilovejackdaniels.com/cheat-s ... eat-sheet/
Not a plug for the liquor other than the name of the site, just an odd name for a blog...
But if you're just starting, I don't know how much a cheat sheet will help, good if you knew PHP and had just been off it a while. I'd look up PHP Tutorials on google and start there.
Posted: Mon Jul 10, 2006 7:59 pm
by feyd
Just read the Useful PHP Resources thread sticky.
Posted: Mon Jul 10, 2006 8:36 pm
by BMAN
Now THAT'S scary!
I think I'll start w/ the stuff at ilovejackdaniels.com. Looks a bit friendlier. Now I understand the reason for the domain name. Learning php probably drove the guy to drinking!