Quantcast
Channel: Zend PHP Certification » Zend
Browsing all 10 articles
Browse latest View live

PHP References

References in PHP are a way to access the content in a variable by different names. They are not at all like pointers in C. For instance, you cannot perform pointer arithmetic using them and they are...

View Article



Backticks, EOL, and Break

While studying up for the Zend PHP Certification exam I came across a few more elements that I’ve never used before. Firstly, there is a backtick operator. This makes it possible to execute a shell...

View Article

Function Name Case Sensitivity and Variable-Length Argument Lists

After spending years developing software, I’ve always assumed that most real programming languages are extremely case sensitive in almost every aspect. It turns out that PHP function names are not...

View Article

Default Values for By-Reference Parameters

Unlike PHP 4, PHP 5 allows default values to be specified for parameters even when they are declared as by-reference:   function command_exists($command, &$output = null) {         $output =...

View Article

Comparing Arrays in PHP

Array-to-array comparison is a relatively rare occurrence in the real world of PHP (at least for me), but it can be performed using a set of operators. Like for other types, the equivalence and...

View Article


PHP Array Cursors

I don’t recommend ever using these functions because a foreach loop is so much simpler and shorter. The only reason I’m writing about these is bacause I have almost never used them and they may just be...

View Article

PHP Sorting Functions

In all the countless hours I’ve spent with php, I’ve maybe used three or four of these sorting functions. I really had no idea that there is a total of eleven functions used for sorting arrays. Anyway,...

View Article

Stacks, Queues and Sets

Arrays can be used in a number of different ways. This can include stacks, queues, and sets. I personally don’t use these functions very often but It can’t hurt to go over them for before taking the...

View Article


Heredoc Syntax

Heredoc is a strange but necessary way to create a complex string. The functionality provided is almost identical to double quoted strings except there are no quotes. The heredoc syntax uses the...

View Article


Comparing and Transforming Strings

String functionality and manipulation methods are an enormous part of the PHP language and should be studied heavily. The following functions are by no means an exhaustive list of what can be done with...

View Article
Browsing all 10 articles
Browse latest View live




Latest Images