Skip to content

Commit

Permalink
Fix zend_vm_stack_get_args_count error #23
Browse files Browse the repository at this point in the history
  • Loading branch information
aterrien committed Jun 30, 2014
1 parent 1c29663 commit 51dcf69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion forp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit 51dcf69

Please sign in to comment.