//Other variables used thru the code zval* dummy = NULL; bool already_called = false; int arguments_received = ZEND_NUM_ARGS(); <?php echo function_parameters($method_definitions, $method_name, $class_name); ?> <?php echo function_called_overload($method_definitions, $method_name, $class_name); ?> <?php echo function_return($method_definitions, $method_name, $class_name, true); ?> if(already_called) { native_object->phpObj = getThis(); <?php if (class_has_properties($class_name)) { ?> native_object->InitProperties(); <?php } ?> current_object = (zo_<?php
} #ifdef USE_WXPHP_DEBUG else { php_printf("Processing the method call as static\n"); } #endif <?php echo function_parameters($method_definitions_ex, $method_name, $class_name); ?> <?php echo function_called_overload($method_definitions_ex, $method_name, $class_name); ?> <?php echo function_return($method_definitions_ex, $method_name, $class_name); ?> //In case wrong type/count of parameters was passed if(!already_called) { zend_error(E_ERROR, "Wrong type or count of parameters passed to: <?php echo $class_name . "::" . $method_name; ?> \n"); } } <?php echo proto_end();
void* argument_native_object = NULL; //Variables used thru the code int arguments_received = ZEND_NUM_ARGS(); zval* dummy; bool already_called = false; bool return_is_user_initialized = false; <?php echo function_parameters($function_data, $function_name); ?> <?php echo function_called_overload($function_data, $function_name); ?> <?php echo function_return($function_data, $function_name); ?> //In case wrong type/count of parameters was passed if(!already_called) { zend_error(E_ERROR, "Wrong type or count of parameters passed to <?php echo $function_name; ?> ()\n"); } } <?php echo proto_end();