<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/rss2full.xsl" type="text/xsl" media="screen"?><?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/itemcontent.css" type="text/css" media="screen"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">

<channel>
	<title>Zend PHP 5 Certification Blog</title>
	
	<link>http://zend.is-hacked.com</link>
	<description>Leading Up to and takeing the Zend PHP 5 Certification test.</description>
	<pubDate>Thu, 04 Dec 2008 16:13:58 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
	<language>en</language>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/ZendPhp5Certification" type="application/rss+xml" /><item>
		<title>PCRE - Perl Compatible Regular Expressions</title>
		<link>http://zend.is-hacked.com/2008/pcre-perl-compatible-regular-expressions/</link>
		<comments>http://zend.is-hacked.com/2008/pcre-perl-compatible-regular-expressions/#comments</comments>
		<pubDate>Thu, 04 Dec 2008 16:05:35 +0000</pubDate>
		<dc:creator>Adam</dc:creator>
		
		<category><![CDATA[7. Strings and Patterns]]></category>

		<guid isPermaLink="false">http://zend.is-hacked.com/?p=295</guid>
		<description><![CDATA[PCRE (Perl Compatible Regular Expressions) is very powerful and confusing. It is able to match a string against a mask to get specific data that you want, it also has a replacement mechanism to find a specific section of a string and replace it. When properly used they are relatively simple to understand and fairly [...]]]></description>
		<wfw:commentRss>http://zend.is-hacked.com/2008/pcre-perl-compatible-regular-expressions/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Strings and Patterns: Formatting</title>
		<link>http://zend.is-hacked.com/2008/strings-patterns-formatting/</link>
		<comments>http://zend.is-hacked.com/2008/strings-patterns-formatting/#comments</comments>
		<pubDate>Thu, 04 Dec 2008 13:53:00 +0000</pubDate>
		<dc:creator>Adam</dc:creator>
		
		<category><![CDATA[7. Strings and Patterns]]></category>

		<guid isPermaLink="false">http://zend.is-hacked.com/?p=292</guid>
		<description><![CDATA[Formatting
Their are different methods of formatting strings in PHP some are to handle data types (e.g. Currency) and others are more complex. With currency many countries format it differently, where they put the commas for example if your website is hosted in Europe its likely that that the sysadmn has set local information to Europe. [...]]]></description>
		<wfw:commentRss>http://zend.is-hacked.com/2008/strings-patterns-formatting/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Strings and Patterns: Replacing</title>
		<link>http://zend.is-hacked.com/2008/strings-and-patterns-replacing/</link>
		<comments>http://zend.is-hacked.com/2008/strings-and-patterns-replacing/#comments</comments>
		<pubDate>Tue, 02 Dec 2008 16:11:57 +0000</pubDate>
		<dc:creator>Adam</dc:creator>
		
		<category><![CDATA[7. Strings and Patterns]]></category>

		<category><![CDATA[sbstr_replace]]></category>

		<category><![CDATA[strpos]]></category>

		<category><![CDATA[str_ireplace()]]></category>

		<category><![CDATA[str_replace();]]></category>

		<category><![CDATA[substr_replace()]]></category>

		<guid isPermaLink="false">http://zend.is-hacked.com/?p=289</guid>
		<description><![CDATA[Sometimes you need to replace a section of a string wth a different values the functions that do this are:
str_replace();
str_ireplace(); case-insensitive
sbstr_replace();

echo str_replace&#40;&#34;World&#34;, &#34;Reader&#34;, &#34;Hello World&#34;&#41;; //Outputs Hello Reader
echo str_ireplace&#40;&#34;world&#34;, &#34;Reader&#34;, &#34;Hello World&#34;&#41;; //Outputs Hello Reader (notice its in wrong case)

The functions as you see take three parameters a needle, the replacement string and the haystack. [...]]]></description>
		<wfw:commentRss>http://zend.is-hacked.com/2008/strings-and-patterns-replacing/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Strings and Patterns: Search</title>
		<link>http://zend.is-hacked.com/2008/strings-and-patterns-search-and-comparing/</link>
		<comments>http://zend.is-hacked.com/2008/strings-and-patterns-search-and-comparing/#comments</comments>
		<pubDate>Tue, 02 Dec 2008 14:56:38 +0000</pubDate>
		<dc:creator>Adam</dc:creator>
		
		<category><![CDATA[7. Strings and Patterns]]></category>

		<category><![CDATA[search]]></category>

		<category><![CDATA[strpos]]></category>

		<category><![CDATA[strstr]]></category>

		<guid isPermaLink="false">http://zend.is-hacked.com/?p=287</guid>
		<description><![CDATA[PHP Search
PHP has multiple ways for searching from simple to complex (faster and slower)
needle: what we want to find in a string.
haystack: the string itself.
The first two functions are strpos() and strstr(). The former allows us to search for the needle in the haystack, if it finds a result it returns the position of the [...]]]></description>
		<wfw:commentRss>http://zend.is-hacked.com/2008/strings-and-patterns-search-and-comparing/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Strings and Patterns: Extracting</title>
		<link>http://zend.is-hacked.com/2008/strings-and-patterns-extracting/</link>
		<comments>http://zend.is-hacked.com/2008/strings-and-patterns-extracting/#comments</comments>
		<pubDate>Tue, 02 Dec 2008 14:09:50 +0000</pubDate>
		<dc:creator>Adam</dc:creator>
		
		<category><![CDATA[7. Strings and Patterns]]></category>

		<category><![CDATA[extract]]></category>

		<category><![CDATA[substr]]></category>

		<guid isPermaLink="false">http://zend.is-hacked.com/?p=283</guid>
		<description><![CDATA[PHP has a function substr(); which allows extracting a substring from a larger string. It can have up to three parimiters:
substr($mainstring, $startpoint, $length);
The Mainstring is the string in which we want to get the contents out of, startpoint is the index number (remember first character is 0, second character is 1) and the length is [...]]]></description>
		<wfw:commentRss>http://zend.is-hacked.com/2008/strings-and-patterns-extracting/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Strings and Patterns: Matching</title>
		<link>http://zend.is-hacked.com/2008/strings-and-patterns-matching/</link>
		<comments>http://zend.is-hacked.com/2008/strings-and-patterns-matching/#comments</comments>
		<pubDate>Fri, 28 Nov 2008 18:31:23 +0000</pubDate>
		<dc:creator>Adam</dc:creator>
		
		<category><![CDATA[7. Strings and Patterns]]></category>

		<guid isPermaLink="false">http://zend.is-hacked.com/?p=281</guid>
		<description><![CDATA[The PHP 5 Zend Certification exam section Strings and Patterns requires knowledge of Matching. It is presumed that matching isto the use of strspan();
You can use strspan(); to match a strings constrictors against allowed (whitelist) constrictors. The function does not reuturn true or false instead returns the amount of constrictors that match the whitelist like [...]]]></description>
		<wfw:commentRss>http://zend.is-hacked.com/2008/strings-and-patterns-matching/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Strings and Patterns: Quoting</title>
		<link>http://zend.is-hacked.com/2008/strings-patterns-quoting/</link>
		<comments>http://zend.is-hacked.com/2008/strings-patterns-quoting/#comments</comments>
		<pubDate>Fri, 28 Nov 2008 16:34:51 +0000</pubDate>
		<dc:creator>Adam</dc:creator>
		
		<category><![CDATA[7. Strings and Patterns]]></category>

		<guid isPermaLink="false">http://zend.is-hacked.com/?p=279</guid>
		<description><![CDATA[In the PHP5 Zend Certification has a section under Strings and Patterns called Quoting. The Zend Study Guide does not contain the word Quoting neither does php manual.
Is it referring to Quotation mark, Grave accent and Apostrophe. What do you guys think?
Single Quotes (single quotation mark) are used with simple strings where all characters are [...]]]></description>
		<wfw:commentRss>http://zend.is-hacked.com/2008/strings-patterns-quoting/feed/</wfw:commentRss>
		</item>
		<item>
		<title>REST</title>
		<link>http://zend.is-hacked.com/2008/rest/</link>
		<comments>http://zend.is-hacked.com/2008/rest/#comments</comments>
		<pubDate>Fri, 28 Nov 2008 15:37:36 +0000</pubDate>
		<dc:creator>Adam</dc:creator>
		
		<category><![CDATA[Zend Classification General]]></category>

		<guid isPermaLink="false">http://zend.is-hacked.com/?p=277</guid>
		<description><![CDATA[Define: Rest
Representational state transfer (REST) is a style of software architecture for distributed hypermedia systems such as the World Wide Web. It is not strictly a method for building what are sometimes called &#8220;web services.&#8221;
The terms “representational state transfer” and “REST” were introduced in 2000 in the doctoral dissertation of Roy Fielding, a principal authors [...]]]></description>
		<wfw:commentRss>http://zend.is-hacked.com/2008/rest/feed/</wfw:commentRss>
		</item>
		<item>
		<title>PHP5 Soap: Creating Server</title>
		<link>http://zend.is-hacked.com/2008/php5-soap-creating-server/</link>
		<comments>http://zend.is-hacked.com/2008/php5-soap-creating-server/#comments</comments>
		<pubDate>Thu, 27 Nov 2008 14:46:02 +0000</pubDate>
		<dc:creator>Adam</dc:creator>
		
		<category><![CDATA[6. XML and Web Services]]></category>

		<guid isPermaLink="false">http://zend.is-hacked.com/?p=275</guid>
		<description><![CDATA[As SoapClient makes it easy to interprate Web Service, SoapServer will make it easy to provide Soap Services. To create a SOAP server you simply start with a class that contains methods (functions) that you wish to allow other computers to use.
Creating a Small SOAP Server

class MySoapServer&#123;
	public function getMessage&#40;&#41;&#123;
		return ’Hello, World!’;
	&#125;
	public function addNumbers&#40;$num1, $num2&#41;&#123;
		return $num1 [...]]]></description>
		<wfw:commentRss>http://zend.is-hacked.com/2008/php5-soap-creating-server/feed/</wfw:commentRss>
		</item>
		<item>
		<title>PHP5 SOAP: Debugging</title>
		<link>http://zend.is-hacked.com/2008/php5-soap-debugging/</link>
		<comments>http://zend.is-hacked.com/2008/php5-soap-debugging/#comments</comments>
		<pubDate>Thu, 27 Nov 2008 14:28:05 +0000</pubDate>
		<dc:creator>Adam</dc:creator>
		
		<category><![CDATA[6. XML and Web Services]]></category>

		<guid isPermaLink="false">http://zend.is-hacked.com/?p=273</guid>
		<description><![CDATA[SoapClent allows us to debug messages sent and received. This is done by setting the trace option to 1 when instantiating SOAP. This gives us the SOAP headers and envelope body.

$client = new SoapClient&#40;'http://api.google.com/GoogleSearch.wsdl',array&#40;'trace' =&#62; 1&#41;&#41;;
$results = $client-&#62;doGoogleSearch&#40;NULL, $query, 0, 10, FALSE, '',FALSE, '', '', ''&#41;;
echo $client-&#62;__getLastRequestHeaders&#40;&#41;;
echo $client-&#62;__getLastRequest&#40;&#41;;

This will output the header requests of the [...]]]></description>
		<wfw:commentRss>http://zend.is-hacked.com/2008/php5-soap-debugging/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
