summaryrefslogtreecommitdiff
path: root/ex_imp.c
diff options
context:
space:
mode:
authorBen Fuhrmannek2014-07-17 13:59:29 +0200
committerBen Fuhrmannek2014-07-17 13:59:29 +0200
commit02f527a6948558636ea04198a61e4a8d231f0484 (patch)
treed9d2617dc25700ebf2609f4bdc404681400d49e7 /ex_imp.c
parent64d667b91a0f9c140383b8f74ea470fb8bd1da5e (diff)
some php_varname_check()s may be silent as we produce custom errors
Diffstat (limited to 'ex_imp.c')
-rw-r--r--ex_imp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ex_imp.c b/ex_imp.c
index 15bad3d..2ea2b99 100644
--- a/ex_imp.c
+++ b/ex_imp.c
@@ -74,7 +74,7 @@ static int php_valid_var_name(char *var_name, int len) /* {{{ */
74 } 74 }
75 } 75 }
76 76
77 if (php_varname_check(var_name, len, 0 TSRMLS_CC) == FAILURE) { 77 if (php_varname_check(var_name, len, 1 TSRMLS_CC) == FAILURE) {
78 return 0; 78 return 0;
79 } 79 }
80 80