<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to 9: Errors on PHP 5.3+</title><link href="https://sourceforge.net/p/phpcallgraph/bugs/9/" rel="alternate"/><link href="https://sourceforge.net/p/phpcallgraph/bugs/9/feed.atom" rel="self"/><id>https://sourceforge.net/p/phpcallgraph/bugs/9/</id><updated>2014-02-07T01:36:36.247000Z</updated><subtitle>Recent changes to 9: Errors on PHP 5.3+</subtitle><entry><title>#9 Errors on PHP 5.3+</title><link href="https://sourceforge.net/p/phpcallgraph/bugs/9/?limit=25#d1a8" rel="alternate"/><published>2014-02-07T01:36:36.247000Z</published><updated>2014-02-07T01:36:36.247000Z</updated><author><name>Dave</name><uri>https://sourceforge.net/u/aspnetlive/</uri></author><id>https://sourceforge.neta50891023c3a67d1cbfa5de8c13d6165334fad5b</id><summary type="html">&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;</summary></entry><entry><title>Errors on PHP 5.3+</title><link href="https://sourceforge.net/p/phpcallgraph/bugs/9/" rel="alternate"/><published>2013-03-29T18:29:35Z</published><updated>2013-03-29T18:29:35Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net542038ee5f7ab3f4ded69cf5e1474ac5ef563dcf</id><summary type="html">&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;</summary></entry></feed>