From 51dcf69ee6d080e8eca9b142f02fe693dfdd672d Mon Sep 17 00:00:00 2001 From: aterrien Date: Tue, 1 Jul 2014 00:28:38 +0200 Subject: [PATCH] Fix zend_vm_stack_get_args_count error #23 --- forp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/forp.c b/forp.c index 26a9822..c2be05a 100755 --- a/forp.c +++ b/forp.c @@ -198,7 +198,7 @@ forp_node_t *forp_open_node(zend_execute_data *edata, zend_op_array *op_array TS if(n->caption) { #if PHP_VERSION_ID >= 50500 - if(zend_vm_stack_get_args_count() > 0) { + if(zend_vm_stack_get_args_count(TSRMLS_C) > 0) { char c[4]; zval **arg; const char *nums = "123456789";