op_array->size_var += 16; /* FIXME */
op_array->vars = erealloc(op_array->vars, op_array->size_var*sizeof(zend_compiled_variable));
}
- op_array->vars[i].name = name; //estrndup(name, name_len);
+ op_array->vars[i].name = name; /* estrndup(name, name_len); */
op_array->vars[i].name_len = name_len;
op_array->vars[i].hash_value = hash_value;
return i;
opline = get_next_op(CG(active_op_array) TSRMLS_CC);
opline->opcode = ZEND_CATCH;
opline->op1 = *catch_class;
-/* SET_UNUSED(opline->op1); *//* FIXME: Define IS_CLASS or something like that */
+/* SET_UNUSED(opline->op1); */ /* FIXME: Define IS_CLASS or something like that */
opline->op2 = *catch_var;
opline->op1.u.EA.type = 0; /* 1 means it's the last catch in the block */
if (argc >= 4) {
zend_update_property_string(default_exception_ce, object, "file", sizeof("file")-1, filename TSRMLS_CC);
if (argc < 5) {
- lineno = 0; // invalidate lineno
+ lineno = 0; /* invalidate lineno */
}
zend_update_property_long(default_exception_ce, object, "line", sizeof("line")-1, lineno TSRMLS_CC);
}
*ptr = var->sqldata;
*len = var->sqllen;
break;
-// --- cut here ---
+/* --- cut here --- */
case SQL_SHORT:
*ptr = FETCH_BUF(S->fetch_buf[colno], char, 24, NULL);
*len = sprintf(*ptr, "%d", *(short*)var->sqldata);
*ptr = FETCH_BUF(S->fetch_buf[colno], char, 24, NULL);
*len = sprintf(*ptr, "%f" , *(double*)var->sqldata);
break;
-// --- cut here ---
+/* --- cut here --- */
#if abies_0
case SQL_SHORT:
*ptr = FETCH_BUF(S->fetch_buf[colno], long, 0, *len);
row_count = mysql_affected_rows(H->server);
if (row_count == (my_ulonglong)-1) {
- // we either have a query that returned a result set or an error occured
- // lets see if we have access to a result set
+ /* we either have a query that returned a result set or an error occured
+ lets see if we have access to a result set */
S->result = mysql_use_result(H->server);
if (NULL == S->result) {
pdo_mysql_error_stmt(stmt);
S->fields = mysql_fetch_fields(S->result);
}
} else {
- // this was a DML or DDL query (INSERT, UPDATE, DELETE, ...
+ /* this was a DML or DDL query (INSERT, UPDATE, DELETE, ... */
stmt->row_count = row_count;
}
*/
PHP_RINIT_FUNCTION(pdo_pgsql)
{
- // php_pdo_register_driver(&pdo_pgsql_driver);
+ /* php_pdo_register_driver(&pdo_pgsql_driver); */
return SUCCESS;
}
/* }}} */
*/
PHP_RSHUTDOWN_FUNCTION(pdo_pgsql)
{
- // php_pdo_unregister_driver(&pdo_pgsql_driver);
+ /* php_pdo_unregister_driver(&pdo_pgsql_driver); */
return SUCCESS;
}
/* }}} */
return FAILURE;
}
/* sending a file handle to another dll is not working
- // so let zend open it.
- */
+ so let zend open it. */
if (display_source_mode) {
zend_syntax_highlighter_ini syntax_highlighter_ini;
module MODULE_VAR_EXPORT php5_module;
int saved_umask;
-//static int setup_env = 0;
+/* static int setup_env = 0; */
static unsigned char apache_php_initialized;
typedef struct _php_per_dir_entry {
return FAILURE;
}
/* sending a file handle to another dll is not working
- // so let zend open it.
- */
+ so let zend open it. */
if (display_source_mode) {
zend_syntax_highlighter_ini syntax_highlighter_ini;