text: 
  #ifdef HAVE_CONFIG_H
  #include "../../ext_config.h"
  #endif
  
  #include <php.h>
  #include "../../php_ext.h"
  #include "../../ext.h"
  
  #include <Zend/zend_operators.h>
  #include <Zend/zend_exceptions.h>
  #include <Zend/zend_interfaces.h>
  
  #include "kernel/main.h"
  #include "math.h"
  #include "kernel/object.h"
  #include "kernel/operators.h"
  #include "kernel/memory.h"
  #include "kernel/math.h"
  
  
  ZEPHIR_INIT_CLASS(Test_Optimizers_Tan) {
  
  	ZEPHIR_REGISTER_CLASS(Test\\Optimizers, Tan, test, optimizers_tan, test_optimizers_tan_method_entry, 0);
  
  	return SUCCESS;
  
  }
  
  PHP_METHOD(Test_Optimizers_Tan, testInt) {
  
  	zval _0;
  	zend_long a;
  	zval *this_ptr = getThis();
  
  	ZVAL_UNDEF(&_0);
  
  
  	a = 0;
  	ZVAL_LONG(&_0, a);
  	RETURN_DOUBLE(tan(a));
  
  }
  
  PHP_METHOD(Test_Optimizers_Tan, testVar) {
  
  	zval _0;
  	zend_long a;
  	zval *this_ptr = getThis();
  
  	ZVAL_UNDEF(&_0);
  
  
  	a = 0;
  	ZVAL_LONG(&_0, a);
  	RETURN_DOUBLE(tan(a));
  
  }
  
  PHP_METHOD(Test_Optimizers_Tan, testVar2) {
  
  	zval _0;
  	zend_long a;
  	zval *this_ptr = getThis();
  
  	ZVAL_UNDEF(&_0);
  
  
  	a = 1;
  	ZVAL_LONG(&_0, a);
  	RETURN_DOUBLE(tan(a));
  
  }
  
  PHP_METHOD(Test_Optimizers_Tan, testIntValue1) {
  
  	zval _0;
  	zval *this_ptr = getThis();
  
  	ZVAL_UNDEF(&_0);
  
  
  	ZVAL_LONG(&_0, 1);
  	RETURN_DOUBLE(tan(1));
  
  }
  
  PHP_METHOD(Test_Optimizers_Tan, testIntValue2) {
  
  	zval _0;
  	zval *this_ptr = getThis();
  
  	ZVAL_UNDEF(&_0);
  
  
  	ZVAL_LONG(&_0, 2);
  	RETURN_DOUBLE(tan(2));
  
  }
  
  PHP_METHOD(Test_Optimizers_Tan, testIntParameter) {
  
  	zval *a_param = NULL, _0;
  	zend_long a;
  	zval *this_ptr = getThis();
  
  	ZVAL_UNDEF(&_0);
  
  	zephir_fetch_params_without_memory_grow(1, 0, &a_param);
  
  	a = zephir_get_intval(a_param);
  
  
  	ZVAL_LONG(&_0, a);
  	RETURN_DOUBLE(tan(a));
  
  }
  
  PHP_METHOD(Test_Optimizers_Tan, testVarParameter) {
  
  	zval *a, a_sub;
  	zval *this_ptr = getThis();
  
  	ZVAL_UNDEF(&a_sub);
  
  	zephir_fetch_params_without_memory_grow(1, 0, &a);
  
  
  
  	RETURN_DOUBLE(zephir_tan(a TSRMLS_CC));
  
  }
  
  