<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Sid? What is he on about now? &#187; PHP4</title>
	<atom:link href="http://sidrit.wordpress.com/tag/php4/feed/" rel="self" type="application/rss+xml" />
	<link>http://sidrit.wordpress.com</link>
	<description>The Almost-Daily Issue</description>
	<lastBuildDate>Fri, 23 Jan 2009 14:28:26 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='sidrit.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/f5c4786753302ab3b2733320c76230af?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Sid? What is he on about now? &#187; PHP4</title>
		<link>http://sidrit.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://sidrit.wordpress.com/osd.xml" title="Sid? What is he on about now?" />
		<item>
		<title>Upcomnig Php6</title>
		<link>http://sidrit.wordpress.com/2007/04/16/upcomnig-php6/</link>
		<comments>http://sidrit.wordpress.com/2007/04/16/upcomnig-php6/#comments</comments>
		<pubDate>Mon, 16 Apr 2007 13:47:33 +0000</pubDate>
		<dc:creator>Sidrit Trandafili</dc:creator>
				<category><![CDATA[Php]]></category>
		<category><![CDATA[Splurge]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[PHP4]]></category>
		<category><![CDATA[PHP5]]></category>
		<category><![CDATA[PHP6]]></category>

		<guid isPermaLink="false">http://sidrit.wordpress.com/2007/04/16/upcomnig-php6/</guid>
		<description><![CDATA[After a long time, today i came  across (again) the Minutes Php Developers Meeting , now seen of course, on the light of new knowledge i&#8217;ve accumulated since ( not a lot , but some ).
On the list of discussed/accepted/declined matters, that i just re-read, what hit my attention was the decision made to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sidrit.wordpress.com&blog=975087&post=11&subd=sidrit&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>After a long time, today i came  across (again) the <a href="http://www.php.net/~derick/meeting-notes.html" title="Minutes PHP Developers Meeting" target="_blank">Minutes Php Developers Meeting</a> , now seen of course, on the light of new knowledge i&#8217;ve accumulated since ( not a lot , but some ).</p>
<p>On the list of discussed/accepted/declined matters, that i just re-read, what hit my attention was the decision made to add an opcode cache (APC) to the std distribution. I think it is going to be very interesting and practical.</p>
<p><a href="http://pecl.php.net/package/APC" target="_blank">APC</a> is a  well-written, well-maintained Pecl package.  I have implemented already in a couple of solutions, and it is definitely worth the trouble of setting it up.</p>
<p>Another thing was the merging of the Hardened-PHP patch into the std distro, and a few other measures, as follows.</p>
<p><span id="more-11"></span><br />
[...]</p>
<p><strong>Discussion</strong>: We went over the features that the patch offers, and discussed whether we might want to include them in stock PHP. One of the points that came up was the allow_url_fopen setting we currently have in PHP. Many ISPs disable it because of sound security reasons for remote paths with include(), but unfortunately by turning this setting off they are also turning off the possibility to use fopen(&#8220;http:&#8230;&#8221;) f.e. This is why we want to split this option into two settings.</p>
<p><strong>Conclusions</strong>:</p>
<ol class="arabic simple">
<li>We want to include the patch&#8217; real-path fix.</li>
<li>We want to include the protection against HTTP Response Splitting attacks (header() shouldn&#8217;t accept multiple headers in one call).</li>
<li>We split allow_url_fopen into two distinct settings: allow_url_fopen and allow_url_include. If allow_url_fopen is off, then allow_url_include will be off too.</li>
<li>We enable allow_url_fopen by default</li>
<li>We disable allow_url_include by default</li>
</ol>
<p>[...]</p>
<p>The decision to make header() not accept multiple values in one cal, is already a step ahead, but i hope it is going to be followed by some serious PCREs.</p>
<p>Quoting from wikipedia&#8217;s HTTP <a href="http://en.wikipedia.org/wiki/HTTP_response_splitting" title="http://en.wikipedia.org/wiki/HTTP_response_splitting" target="_blank">Response Splitting Attack</a>:</p>
<pre>http://example.tld/redir.php?id=%0d%0aSet-Cookie%3A+some%3Dvalue</pre>
<p>I hope my point is clear.</p>
<p>And then, at the end, there&#8217;s the ifsetor() issue and the modifications made to the ternary operator ( ie: removal of the requirement for the middle parameter).</p>
<p>In my humble opinion, the way it is going to be , it&#8217;s so much more complicated ( speaking of clear, easy-readable code).</p>
<p>Example:</p>
<p>$foo = $_GET['foo'] ?: 42;</p>
<p>What about :</p>
<p>$foo = ($a===$b)? 41 : 42;</p>
<p>How&#8217;s this going to be evaluated?</p>
<p>In the end, let&#8217;s keep in mind that, these discussions happened back in 2005, on a theoretical basis.</p>
<p>From then, most-likely a few things have changed, and there&#8217;ll be much more to talk.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/sidrit.wordpress.com/11/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/sidrit.wordpress.com/11/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sidrit.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sidrit.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sidrit.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sidrit.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sidrit.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sidrit.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sidrit.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sidrit.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sidrit.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sidrit.wordpress.com/11/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sidrit.wordpress.com&blog=975087&post=11&subd=sidrit&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://sidrit.wordpress.com/2007/04/16/upcomnig-php6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Sidrit Trandafili</media:title>
		</media:content>
	</item>
		<item>
		<title>Zend Certification Exam</title>
		<link>http://sidrit.wordpress.com/2007/03/24/zend-certification-exam/</link>
		<comments>http://sidrit.wordpress.com/2007/03/24/zend-certification-exam/#comments</comments>
		<pubDate>Sat, 24 Mar 2007 11:07:56 +0000</pubDate>
		<dc:creator>Sidrit Trandafili</dc:creator>
				<category><![CDATA[Certifications]]></category>
		<category><![CDATA[Php]]></category>
		<category><![CDATA[Splurge]]></category>
		<category><![CDATA[PHP Certification]]></category>
		<category><![CDATA[PHP4]]></category>
		<category><![CDATA[PHP5]]></category>
		<category><![CDATA[Rating]]></category>
		<category><![CDATA[Score]]></category>
		<category><![CDATA[Zend]]></category>

		<guid isPermaLink="false">http://sidrit.wordpress.com/2007/03/24/zend-certification-exam/</guid>
		<description><![CDATA[As  i mentioned in one of my previous posts, i had scheduled to take the Zend Certification on Friday the 23rd of march, which i did.
That date was chosen , not because i could not do it any earlier, but because i could not do it any later. Zend will stop the PHP4 test [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sidrit.wordpress.com&blog=975087&post=6&subd=sidrit&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><span style="font-size:100%;">As  i mentioned in one of my previous posts, i had scheduled to take the Zend Certification on Friday the 23rd of march, which i did.<br />
That date was chosen , not because i could not do it any earlier, but because i could not do it any later. Zend will stop the PHP4 test on the 31st of march 2007.</span></p>
<p>Of course from the beginning it was a must using the official Study Guide and Practice Tests book,<br />
which seemed to be quite  a good deal.</p>
<p>The Study guide covers some of the major topics in php development, starting from the basics and array, strings, pcre, stream programming etc.</p>
<p>The guide contains not too much information, which , cuts both ways. First: you won&#8217;t need to much time to go through it. Second: that&#8217;s not all the information you will need, to pass the test.</p>
<p><span id="more-6"></span></p>
<p>Do not be fooled !! Even though the Booklet starts of by telling you what php tags are, this is not for people who have not written a line of php in their life. Chapters and topics will get very complicated and very soon , as you go on reading. They will nee you to have the background knowledge.<br />
On the other hand, even if you are not taking the test, this material is written by a group of php experts that will put light on many edgy points in developing, so it might be a quite good read.</p>
<p>The exercise book, will cover basically everything you learned on the Study Guide + extra material. The presence of this extra material, confirms what i wrote earlier, about the fact that the guide will not teach you everything that you need to know.</p>
<p>Two things will help a lot: Experience, ability to memorize ( php manual always at hand).</p>
<p>By this point, I think that the exercise book is a lot tougher ( in  some topics ) than the test itself,</p>
<p>After a couple of white nights, gallons of coffee, and a staggering amount of random information stored in my head ( <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  ) went and took the exam.</p>
<p>Now, i know the test is supposed a real-life one, but it isn&#8217;t.<br />
Today, one of the biggest tools that a php developer has at hand, is the (well structured) PHP Manual.<br />
I think the exam concentrates too much on asking ie: the correct order of input and output of <span style="font-size:100%;">array_merge_recursive, but also not giving you a chance to write a single line of code, or have a case study etc&#8230;</span></p>
<p>One of the good things of the approach that this test has, is that by the end of your studying time (if you did it properly ), regardless if you pass or not, you will code much faster and you will need the manual way less.</p>
<p>All these things said, i don&#8217;t have a real problem with the way that the preparation and the test works.</p>
<p>The only thing that quasi-bugs me, is the fact that the only passing grade is PASS.<br />
I&#8217;m definitely not talking about myself here but, there are some people out there , who are proper php gurus, and probably should not be evaluated the same as somebody who barely passed it.<br />
I mean, maybe it&#8217;s just the formulation GRADE: PASS.<br />
Could be &#8216; Congratulations, you succeeded.. etc etc&#8217;.</p>
<p>So yesterday, i passed the ZEND Php Certification test ( with a positive grade that i would love to know specifically ) in Rome Italy.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/sidrit.wordpress.com/6/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/sidrit.wordpress.com/6/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sidrit.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sidrit.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sidrit.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sidrit.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sidrit.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sidrit.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sidrit.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sidrit.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sidrit.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sidrit.wordpress.com/6/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sidrit.wordpress.com&blog=975087&post=6&subd=sidrit&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://sidrit.wordpress.com/2007/03/24/zend-certification-exam/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Sidrit Trandafili</media:title>
		</media:content>
	</item>
	</channel>
</rss>