«« Next » « Previous
«« Next » « Previous

Link Details

Announcement

iPhone DZone: Fresh Links On Your iPhone by matt at Sat Jul 05 14:09:51 EDT 2008

Reading DZone on your iPhone just got a little bit easier. Visit http://dzone.com/iphone from your iPhone to try out our beta iPhone support. You can view stories, filter by tags, and login. We'd appreciate your feedback at feedback@dzone.com.

DZone depends on you. Login and vote now.
Link 78735 thumbnail

By bloid
via davidjeffries.com
Submitted: May 01 2008 / 10:35

Throughout my time programming PHP I've come across a few interesting things about the language. Coming from a primarily Java background, it seems quite strange to be able to do some of these things so easily. Having said that, here are a few things with PHP that I've found interesting, and hopefully some of these things you've never heard about.
  • 5
  • 1
  • 216
  • 81

Comments

Add your comment
User 236137 avatar

dzonelurker replied ago:

0 votes Vote down Vote up Reply

I prefer



$test = true;
if($test == true){
echo "is true!";
} elseif($test == false){
echo "is false!";
else{
echo "don't know";
}

User 261835 avatar

Kenneth Downs replied ago:

0 votes Vote down Vote up Reply

Nice review of some of what makes PHP so straightforward and flexible.

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (5)



Voters Against This Link (1)