<?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/"
	>

<channel>
	<title>Oxagile Software Development Company Web Application Development Blog &#187; PHP applications</title>
	<atom:link href="http://blog.oxagile.com/tag/php-applications/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.oxagile.com</link>
	<description>Web and Mobile Application Development Services</description>
	<lastBuildDate>Wed, 21 Dec 2011 20:11:04 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>PHP 5.3: welcome to release party in Munich</title>
		<link>http://blog.oxagile.com/2009/07/17/php-53-welcome-to-release-party-in-munich/</link>
		<comments>http://blog.oxagile.com/2009/07/17/php-53-welcome-to-release-party-in-munich/#comments</comments>
		<pubDate>Fri, 17 Jul 2009 13:48:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Programming PHP]]></category>
		<category><![CDATA[PHP 5.3]]></category>
		<category><![CDATA[PHP applications]]></category>
		<category><![CDATA[PHP.INI]]></category>

		<guid isPermaLink="false">http://blog.oxagile.com/?p=439</guid>
		<description><![CDATA[ 
   Today we continue our analysis of the most significant changes applied to the new PHP version.
Changing magic methods 
Before the introduction of PHP 5.3, these methods could be marked not only as public but also as private, protected, static ones, etc. Starting with the 5.3 these methods (mentioned below) cannot be [...]]]></description>
			<content:encoded><![CDATA[ 
   <span class = "facebook-like-this" style = "height: px"><iframe src="http://www.facebook.com/plugins/like.php?href=http://blog.oxagile.com/2009/07/17/php-53-welcome-to-release-party-in-munich/&layout=standard&show_faces=false&width=100%&action=like&colorscheme=light&locale=en_US&font=" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:100%px; height:px"></iframe></span><p>Today we continue our analysis of the most significant changes applied to the new <a href="http://www.oxagile.com/expertise/by-technology">PHP </a>version.</p>
<p><em>Changing magic methods </em></p>
<p>Before the introduction of PHP 5.3, these methods could be marked not only as public but also as private, protected, static ones, etc. Starting with the 5.3 these methods (mentioned below) cannot be static and must be public only:</p>
<p>* __get ()<br />
* __set ()<br />
* __isset ()<br />
* __unset ()<br />
* __call ()</p>
<p><em>Ministry of Health warns</em></p>
<p>PHP has a list of functions that were marked for removal. Most of them are not common (<a href="http://www.oxagile.com">PHP developers</a> use them not very often), but nevertheless, you should check your code (they won’t work in the new version). These functions are:</p>
<p>* Call_user_method ()<br />
* Call_user_method_array ()<br />
* Define_syslog_variables ()<br />
* Ereg ()<br />
* Ereg_replace ()<br />
* Eregi ()<br />
* Eregi_replace ()<br />
* Set_magic_quotes_runtime () / magic_quotes_runtime ()<br />
* Session_register ()<br />
* Session_unregister ()<br />
* Session_is_registered ()<br />
* Set_socket_blocking ()<br />
* Split ()<br />
* Spliti ()<br />
* Sql_regcase ()</p>
<p>Moreover, some directives in PHP.INI suffer the same fate, now they will warn you (E_DEPRECATED) if you try to activate them:</p>
<p>* Define_syslog_variables<br />
* Register_globals<br />
* Register_long_arrays<br />
* Safe_mode<br />
* Magic_quotes_gpc<br />
* Magic_quotes_runtime<br />
* Magic_quotes_sybase</p>
<p><em>Surprises</em></p>
<p>In PHP 5.0, the method “is_a ()” was described as inadvisable (manuals recommended to use “instanceof”), but in spite of this fact “is_a ()” was not removed from the language. Furthermore now it works without  E_DEPRECATED-warnings.</p>
<p>The following words were reserved:</p>
<p>* GOTO<br />
* NAMESPACE</p>
<p>It is very unlikely that they were included in your code, however, it would be better for you to scan the code. These words cannot be used as function names, class names, etc.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.oxagile.com/2009/07/17/php-53-welcome-to-release-party-in-munich/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Say hello to the new version of PHP! (Migrating to PHP 5.3)</title>
		<link>http://blog.oxagile.com/2009/07/09/say-hello-to-the-new-version-of-php-migrating-to-php-53/</link>
		<comments>http://blog.oxagile.com/2009/07/09/say-hello-to-the-new-version-of-php-migrating-to-php-53/#comments</comments>
		<pubDate>Thu, 09 Jul 2009 16:22:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Open source software]]></category>
		<category><![CDATA[Programming PHP]]></category>
		<category><![CDATA[Web development]]></category>
		<category><![CDATA[array functions]]></category>
		<category><![CDATA[PHP 5.3]]></category>
		<category><![CDATA[PHP applications]]></category>

		<guid isPermaLink="false">http://blog.oxagile.com/?p=435</guid>
		<description><![CDATA[ 
   We sure that some software specialists who develop PHP applications have already downloaded and started testing the new features of PHP 5.3. No doubt, this version can be considered as the major change in language over the past 7 years. But most of the developers are not interested in new features, [...]]]></description>
			<content:encoded><![CDATA[ 
   <span class = "facebook-like-this" style = "height: px"><iframe src="http://www.facebook.com/plugins/like.php?href=http://blog.oxagile.com/2009/07/09/say-hello-to-the-new-version-of-php-migrating-to-php-53/&layout=standard&show_faces=false&width=100%&action=like&colorscheme=light&locale=en_US&font=" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:100%px; height:px"></iframe></span><p><img class="alignleft" style="margin: 5px;" src="http://upload.wikimedia.org/wikipedia/en/thumb/2/27/PHP-logo.svg/180px-PHP-logo.svg.png" alt="" width="245" height="127" />We sure that some software specialists who <a href="http://www.oxagile.com">develop PHP applications</a> have already downloaded and started testing the new features of <a href="http://www.oxagile.com/expertise/by-technology">PHP 5.3</a>. No doubt, this version can be considered as the major change in language over the past 7 years. But most of the developers are not interested in new features, which can be used for their future developments; first of all they worry about changes that can affect already written applications.</p>
<p><em>What was updated: </em></p>
<p>Good news for <a href="http://www.oxagile.com/services_summary.html">PHP developers</a> who used to write code according to the current trends, your application will be affected only by a few changes. But those programmers, whose code was aimed at earlier versions of this language, should be so lucky! <img src='http://blog.oxagile.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  So, in this post and the next one we are going to describe some key points that deserve your attention (we hope you will find some useful tips here, especially if you are going to migrate from PHP 5.2.x to PHP 5.3.x).</p>
<p>Of course this list of updated features is not a complete one, more extensive information you’ll find in PHP 5.3 changelog.</p>
<p><em>More work with arrays:</em></p>
<p>Array functions in the previous PHP versions could work with arrays taking them as arguments, so you could indicate an array or an object as an argument. But you can’t do it in 5.3, many of array functions now can accept only arrays. If you want to get object properties using any of the options below, you will need to convert the object into array:</p>
<p>* Natsort ()<br />
* Natcasesort ()<br />
* Usort ()<br />
* Uasort ()<br />
* Uksort ()<br />
* Array_flip ()<br />
* Array_unique ()</p>
<p><em>…to be continued</em></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.oxagile.com/2009/07/09/say-hello-to-the-new-version-of-php-migrating-to-php-53/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

