summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2004-01-26 07:52:52 +0000
committerMarcus Boerger <helly@php.net>2004-01-26 07:52:52 +0000
commited650274eb5d27f910d32b1695f8aa69f9c4bad1 (patch)
tree2c099019770480b423053f4365eb020daa104a96
parent85510ff3a1ed77cb3db1b904ef50f76d2d608020 (diff)
downloadphp-git-ed650274eb5d27f910d32b1695f8aa69f9c4bad1.tar.gz
We are in c not c++
-rwxr-xr-xext/spl/spl_functions.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/spl/spl_functions.c b/ext/spl/spl_functions.c
index feccacac53..bc867b1230 100755
--- a/ext/spl/spl_functions.c
+++ b/ext/spl/spl_functions.c
@@ -133,10 +133,11 @@ void spl_add_interfaces(zval *list, zend_class_entry * pce, int allow, int ce_fl
/* {{{ spl_add_classes */
int spl_add_classes(zend_class_entry ** ppce, zval *list, int sub, int allow, int ce_flags TSRMLS_DC)
{
+ zend_class_entry *pce = *ppce;
+
if (!ppce) {
return 0;
}
- zend_class_entry *pce = *ppce;
spl_add_class_name(list, pce, allow, ce_flags TSRMLS_CC);
if (sub) {
spl_add_interfaces(list, pce, allow, ce_flags TSRMLS_CC);