summaryrefslogtreecommitdiff
path: root/Zend
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>1999-07-20 13:01:30 +0000
committerAndi Gutmans <andi@php.net>1999-07-20 13:01:30 +0000
commitbf8c6dbd993c4d3bd9fbaf36b3ed068b28d25027 (patch)
treeb0812068cb85a7e06007df1450850515a28e14bc /Zend
parente0e331967f59439f4a04aa279aaf0e27c16a3e13 (diff)
downloadphp-git-bf8c6dbd993c4d3bd9fbaf36b3ed068b28d25027.tar.gz
- Get rid of C++ comments
Diffstat (limited to 'Zend')
-rw-r--r--Zend/zend_compile.c1
-rw-r--r--Zend/zend_execute_API.c1
-rw-r--r--Zend/zend_list.c4
-rw-r--r--Zend/zend_operators.c1
4 files changed, 2 insertions, 5 deletions
diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c
index 452763fe11..5a224a8b7e 100644
--- a/Zend/zend_compile.c
+++ b/Zend/zend_compile.c
@@ -933,7 +933,6 @@ void do_early_binding(CLS_D)
opline->opcode = ZEND_NOP;
SET_UNUSED(opline->op1);
SET_UNUSED(opline->op2);
- //CG(active_op_array)->last--;
}
diff --git a/Zend/zend_execute_API.c b/Zend/zend_execute_API.c
index d5f7c111ea..a5b94889c9 100644
--- a/Zend/zend_execute_API.c
+++ b/Zend/zend_execute_API.c
@@ -313,7 +313,6 @@ int call_user_function(HashTable *function_table, zval *object, zval *function_n
*param = *(params[i]);
INIT_PZVAL(param);
zval_copy_ctor(param);
- //zend_hash_next_index_insert_ptr(function_state.function_symbol_table, param, sizeof(zval *), NULL);
zend_ptr_stack_push(&EG(argument_stack), param);
}
diff --git a/Zend/zend_list.c b/Zend/zend_list.c
index 3f1d01327e..44992abd3e 100644
--- a/Zend/zend_list.c
+++ b/Zend/zend_list.c
@@ -48,7 +48,7 @@ static inline int zend_list_do_delete(HashTable *list,int id)
ELS_FETCH();
if (zend_hash_index_find(&EG(regular_list), id, (void **) &le)==SUCCESS) {
-// printf("del(%d): %d->%d\n", id, le->refcount, le->refcount-1);
+/* printf("del(%d): %d->%d\n", id, le->refcount, le->refcount-1); */
if (--le->refcount<=0) {
return zend_hash_index_del(&EG(regular_list), id);
} else {
@@ -96,7 +96,7 @@ ZEND_API int zend_list_addref(int id)
ELS_FETCH();
if (zend_hash_index_find(&EG(regular_list), id, (void **) &le)==SUCCESS) {
-// printf("add(%d): %d->%d\n", id, le->refcount, le->refcount+1);
+/* printf("add(%d): %d->%d\n", id, le->refcount, le->refcount+1); */
le->refcount++;
return SUCCESS;
} else {
diff --git a/Zend/zend_operators.c b/Zend/zend_operators.c
index 8e202f255b..d73feecd83 100644
--- a/Zend/zend_operators.c
+++ b/Zend/zend_operators.c
@@ -936,7 +936,6 @@ ZEND_API int is_not_equal_function(zval *result, zval *op1, zval *op2)
ZEND_API int is_smaller_function(zval *result, zval *op1, zval *op2)
{
- //printf("Comparing %d and %d\n", op1->value.lval, op2->value.lval);
if (compare_function(result, op1, op2) == FAILURE) {
return FAILURE;
}