PHP




Other Refcardz


thumb

Getting Started with Selenium

Contents Include: About Selenium, Architecture in a Nutshell, Installing Selenium, Recording/Playback using Selenium IDE, Selenese Table Format, Selenium Command Reference and more...


thumb

Essential JSP Expression Language

Features include Using the EL in a JSP Page, Literal Values, Introducing Scoped Variables, Grabbing JavaBean Properties, Hot Tips and more.


thumb

JUnit and EasyMock

Features include JUnit Lifecycle, JUnit 4 Annotations, EasyMock Object Lifecycle, Recording Behavior in EasyMock, Hot Tips and more.


thumb

Core CSS: Part I

Features include CSS Rationale and Use, Understanding Style Rule Syntax, Inheritance, Browser, User, Author, Application Hierarchy and Sort Order, Hot Tips and more.




Click Here To
Download PDF


Overview

PHP is the world's most popular server-side Web scripting language. This reference card was created to help you quickly navigate some of PHP's most commonplace features, including objectoriented programming, array and string manipulation, regular expressions, and MySQL integration.

Features include Configuration, Popular PEAR Packages, Object-Oriented PHP, Regular Expressions, MySQL Integration, Hot Tips and more.


About the Author

Jason Gilmore is founder of W.J. Gilmore, LLC, providing web development, consulting, and technical writing services to clientele ranging from publicly traded corporations to small startups. Jason is a prolific contributor to a number of leading publications such as Developer.com, Linux Magazine, and TechTarget, with almost 100 articles to his credit. He's cofounder of the CodeMash conference (http://www.codemash.org/), a non-profit organization charged with organizing the annual namesake event.

Publications

Website
http://www.wjgilmore.com

Comments

willydee replied on Sun, 2008/10/05 - 6:52pm

Hello Mr. Gilmore—

there’s a minor bug on pg. 2 of the refcard. The equality operator does not belong into the function declaration, there has to be an assignment operator.

// Wrong:
function __construct($id=="") {

// Correct:
function __construct($id="") {

Kind regards,
Willy Dee.

Jill Tomich replied on Mon, 2008/10/06 - 11:56am in response to: willydee

Hello Willy Dee,

Thanks for taking the time to download, review, and provide feedback on the PHP refcard. I've passed along your feedback to the author, and we are working to correct the error. A new version of the PHP refcard will be available within the next couple of days.

With Kind Regards,

Jill 

Jill Tomich replied on Tue, 2008/10/07 - 2:18pm

We've had some feedback on the PHP refcard from the community, and have updated it to reflect a few edits to fix some errors. The new version is now available. Go here and click on "Click Here to Download PDF" to download the new version.

What's changed:

  • Page 2, Column 1 - Under the section "Class Constructors", the first line has been changed to read:

    function __construct($id="") {

    In addition, there was a formatting issue regarding the double underscores in the same section, and the section that follows it. They have been changed to reflect one contiguous long underscore.
  • Page 3, Column 1, 1st Table - Under the "Creating an Array" section, the following was deleted:

    $stations << "WTVN";
    $stations << "WBNS";
    $stations << "WYTS";

    It is not valid PHP.

Thanks to those who have provided feedback.

-- Jill

Jill Tomich replied on Thu, 2008/10/09 - 2:10pm

Hi Folks,

Well, it seems we missed an edit in that table on page 3. A new version of the PHP refcard is available. Go here and click on "Click Here to Download PDF" to download the new version. My apologies for the mistakes. This version is correct.

-- Jill

kenguest replied on Fri, 2008/10/10 - 6:22pm

phpunit has been hosted on phpunit.de instead of pear.php.net since around 2006-06-29. The last version released on pear.php.net was version 2.3.6! (Version 3.3.1 is the most current). Could you please revise your PDF to correct this? Pointing people to a very old version of PHPUNit would only serve to confuse them! Thank you.

Jill Tomich replied on Fri, 2008/10/10 - 7:19pm in response to: kenguest

Thanks for the feedback. We will make the correction, and update the PDF as soon as possible. I'll post a note here when it has been updated.

Thanks again,

Jill 

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.