include as much as possible phpfunctions
Status: Beta
Brought to you by:
chrj
--- phpfunctions.php 26 Oct 2003 21:10:10 -0000
1.9
+++ phpfunctions.php 20 Mar 2004 01:51:14 -0000
@@ -53,7 +53,9 @@
break;
default:
- preg_match("/^([^ ]+) ([^\(]+)\(([^\)]+)\)
$/", trim($buffer), $regs);
+ // the worst example for this regexp should be
something like
+ // public Reflection_Class[]
Reflection_Class::getInterfaces();
+ preg_match("/^([^ ]+) ([^\(]+)\(([^\)]*)\)(
throws Exception|;)?$/", trim($buffer), $regs);
if \(isset\($regs\[2\]\) && \(strlen\($regs\[2\]\) > 0\)\) \{
$current = $regs\[2\];