<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to 9: Errors on PHP 5.3+</title><link>https://sourceforge.net/p/phpcallgraph/bugs/9/</link><description>Recent changes to 9: Errors on PHP 5.3+</description><atom:link href="https://sourceforge.net/p/phpcallgraph/bugs/9/feed.rss" rel="self"/><language>en</language><lastBuildDate>Fri, 07 Feb 2014 01:36:36 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/phpcallgraph/bugs/9/feed.rss" rel="self" type="application/rss+xml"/><item><title>#9 Errors on PHP 5.3+</title><link>https://sourceforge.net/p/phpcallgraph/bugs/9/?limit=25#d1a8</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Same error on ubuntu 12.04.3 (php 5.3.10).&lt;/p&gt;
&lt;p&gt;Easy fix for Pear errors: $sudo apt-get install php-pear&lt;br /&gt;
Same fix as 1) above for split() -&amp;gt; preg_split()&lt;/p&gt;
&lt;p&gt;Surprisingly not getting pointer error. Have to investigate further.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dave</dc:creator><pubDate>Fri, 07 Feb 2014 01:36:36 -0000</pubDate><guid>https://sourceforge.neta50891023c3a67d1cbfa5de8c13d6165334fad5b</guid></item><item><title>Errors on PHP 5.3+</title><link>https://sourceforge.net/p/phpcallgraph/bugs/9/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I've got this problems installing phpCallGraph on Windows XP / PHP 5.3, but they must happen on any system, so here's the patch.&lt;/p&gt;
&lt;p&gt;1) phpcallgraph-0.8.0\lib\instantsvc\components\CodeAnalyzer\src\code_analyzer.php&lt;br /&gt;
524: split got deprecated in PHP 5.3&lt;br /&gt;
-$arr = split('#-#-#-#-#', $result);&lt;br /&gt;
+$arr = preg_split('!#-#-#-#-#!', $result);&lt;/p&gt;
&lt;p&gt;2) phpcallgraph-0.8.0\phpcallgraph-0.8.0\lib\pear\PEAR.php&lt;br /&gt;
569: pointers to new got deprecated&lt;br /&gt;
-$a = &amp;amp;new $ec($code, $mode, $options, $userinfo);&lt;br /&gt;
+$a = new $ec($code, $mode, $options, $userinfo);&lt;br /&gt;
572: pointers to new got deprecated&lt;br /&gt;
-$a = &amp;amp;new $ec($message, $code, $mode, $options, $userinfo);&lt;br /&gt;
+$a = new $ec($message, $code, $mode, $options, $userinfo);&lt;/p&gt;
&lt;p&gt;3) phpcallgraph-0.8.0\phpcallgraph-0.8.0\lib\pear\System.php&lt;br /&gt;
27: there's no 'Console/Getopt.php';&lt;br /&gt;
You should add sources from this package too.&lt;br /&gt;
Link supplied for someone who would like to fix their distributions: &lt;a href="http://pear.php.net/package/Console_Getopt/download/" rel="nofollow"&gt;http://pear.php.net/package/Console_Getopt/download/&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Fri, 29 Mar 2013 18:29:35 -0000</pubDate><guid>https://sourceforge.net542038ee5f7ab3f4ded69cf5e1474ac5ef563dcf</guid></item></channel></rss>