[svn:PHP-Sandwich] r6457 - PHP-Sandwich/trunk

[email protected] Sat, 3 Jun 2006 18:26:23 -0700 (PDT)
Newsgroups perl.php.sandwich.dev
Message-ID <[email protected]>
Author: gschlossnagle
Date: Sat Jun  3 18:26:22 2006
New Revision: 6457

Modified:
   PHP-Sandwich/trunk/phpfuncs.c

Log:
fix for running with multiplicity.



Modified: PHP-Sandwich/trunk/phpfuncs.c
==============================================================================
--- PHP-Sandwich/trunk/phpfuncs.c	(original)
+++ PHP-Sandwich/trunk/phpfuncs.c	Sat Jun  3 18:26:22 2006
@@ -96,7 +96,6 @@
   char         *name;
   int           namelen;
   pTHX;
-  dSP;
 
   if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &name, &namelen) == FAILURE) {
     return;
@@ -110,6 +109,7 @@
 #ifdef USE_ITHREADS
   aTHX = pl->perl;
 #endif
+  dSP;
   var = NULL;
   if(strchr(name, '[') || strchr(name, '{')) {
     ENTER; SAVETMPS;