Property changes on: pecl/yaf/trunk/config.m4 ___________________________________________________________________ Added: svn:keywords + Id Author Modified: pecl/yaf/trunk/configs/ini.c =================================================================== --- pecl/yaf/trunk/configs/ini.c 2011-06-27 01:39:01 UTC (rev 312507) +++ pecl/yaf/trunk/configs/ini.c 2011-06-27 03:04:07 UTC (rev 312508) @@ -12,8 +12,9 @@ +----------------------------------------------------------------------+ | Author: Laruence | +----------------------------------------------------------------------+ - $Id: ini.c 1040 2011-03-23 05:27:42Z huixinchen $ - */ + $Id$ +*/ + zend_class_entry * yaf_config_ini_ce; yaf_config_t * yaf_config_ini_instance(yaf_config_t *this_ptr, zval *filename, zval *section TSRMLS_DC); @@ -428,6 +429,11 @@ zval *section = NULL; if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z|z", &filename, §ion) == FAILURE) { + zval *prop = NULL; + MAKE_STD_ZVAL(prop); + array_init(prop); + yaf_update_property(getThis(), YAF_CONFIG_PROPERT_NAME, prop); + WRONG_PARAM_COUNT; } Property changes on: pecl/yaf/trunk/configs/ini.c ___________________________________________________________________ Added: svn:keywords + Id Author Modified: pecl/yaf/trunk/configs/simple.c =================================================================== --- pecl/yaf/trunk/configs/simple.c 2011-06-27 01:39:01 UTC (rev 312507) +++ pecl/yaf/trunk/configs/simple.c 2011-06-27 03:04:07 UTC (rev 312508) @@ -12,8 +12,9 @@ +----------------------------------------------------------------------+ | Author: Laruence | +----------------------------------------------------------------------+ - $Id: simple.c 1040 2011-03-23 05:27:42Z huixinchen $ + $Id$ */ + zend_class_entry * yaf_config_simple_ce; /** {{{ yaf_config_t * yaf_config_simple_instance(yaf_config_t *this_ptr, zval *values, zval *readonly TSRMLS_DC) @@ -66,6 +67,11 @@ zval *readonly = NULL; if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z|z", &values, &readonly) == FAILURE) { + zval *prop = NULL; + MAKE_STD_ZVAL(prop); + array_init(prop); + yaf_update_property(getThis(), YAF_CONFIG_PROPERT_NAME, prop); + WRONG_PARAM_COUNT; } Property changes on: pecl/yaf/trunk/configs/simple.c ___________________________________________________________________ Added: svn:keywords + Id Author Modified: pecl/yaf/trunk/package.xml =================================================================== --- pecl/yaf/trunk/package.xml 2011-06-27 01:39:01 UTC (rev 312507) +++ pecl/yaf/trunk/package.xml 2011-06-27 03:04:07 UTC (rev 312508) @@ -3,7 +3,7 @@ yaf PHP Framework in PHP extension - Yaf is a Zend framewokr"s like php framework which written in C and built as PHP extension. + Yaf is a PHP framework similar to zend framework, which is written in c and built as PHP extension @@ -15,7 +15,7 @@ 2.0.0 - 2011-06-26 + 2011-06-27 PHP stable - First release version @@ -46,6 +46,25 @@ + + + + + + + + + + + + + + + + + + + Modified: pecl/yaf/trunk/package2.xml =================================================================== --- pecl/yaf/trunk/package2.xml 2011-06-27 01:39:01 UTC (rev 312507) +++ pecl/yaf/trunk/package2.xml 2011-06-27 03:04:07 UTC (rev 312508) @@ -26,7 +26,7 @@ - + @@ -93,6 +93,25 @@ + + + + + + + + + + + + + + + + + + + Modified: pecl/yaf/trunk/php_yaf.h =================================================================== --- pecl/yaf/trunk/php_yaf.h 2011-06-27 01:39:01 UTC (rev 312507) +++ pecl/yaf/trunk/php_yaf.h 2011-06-27 03:04:07 UTC (rev 312508) @@ -12,7 +12,7 @@ +----------------------------------------------------------------------+ | Author: Laruence | +----------------------------------------------------------------------+ - $Id: php_yaf.h 52 2011-05-19 10:28:53Z laruence $ + $Id$ */ #ifndef PHP_YAF_H @@ -46,7 +46,7 @@ #define YAF_SHUTDOWN_FUNCTION(module) ZEND_MINIT_FUNCTION(yaf_##module) #define YAF_SHUTDOWN(module) ZEND_MODULE_SHUTDOWN_N(yaf_##module)(INIT_FUNC_ARGS_PASSTHRU) -#define YAF_VERSION "1.0.0 $Id: php_yaf.h 52 2011-05-19 10:28:53Z laruence $" +#define YAF_VERSION "1.0.0 $Id$" #define YAF_EXTRACT_FUNC_NAME "extract" #define YAF_ROUTER_DEFAULT_ACTION "index" Property changes on: pecl/yaf/trunk/php_yaf.h ___________________________________________________________________ Added: svn:keywords + Id Author Modified: pecl/yaf/trunk/requests/http.c =================================================================== --- pecl/yaf/trunk/requests/http.c 2011-06-27 01:39:01 UTC (rev 312507) +++ pecl/yaf/trunk/requests/http.c 2011-06-27 03:04:07 UTC (rev 312508) @@ -12,7 +12,7 @@ +----------------------------------------------------------------------+ | Author: Laruence | +----------------------------------------------------------------------+ - $Id: http.c 2028 2011-05-19 10:09:48Z huixinchen $ + $Id$ */ #include "ext/standard/url.h" Property changes on: pecl/yaf/trunk/requests/http.c ___________________________________________________________________ Added: svn:keywords + Id Author Modified: pecl/yaf/trunk/requests/simple.c =================================================================== --- pecl/yaf/trunk/requests/simple.c 2011-06-27 01:39:01 UTC (rev 312507) +++ pecl/yaf/trunk/requests/simple.c 2011-06-27 03:04:07 UTC (rev 312508) @@ -12,7 +12,7 @@ +----------------------------------------------------------------------+ | Author: Laruence | +----------------------------------------------------------------------+ - $Id: simple.c 575 2011-03-08 11:12:08Z huixinchen $ + $Id$ */ static zend_class_entry * yaf_request_simple_ce; Property changes on: pecl/yaf/trunk/requests/simple.c ___________________________________________________________________ Added: svn:keywords + Id Author Modified: pecl/yaf/trunk/response/cli.c =================================================================== --- pecl/yaf/trunk/response/cli.c 2011-06-27 01:39:01 UTC (rev 312507) +++ pecl/yaf/trunk/response/cli.c 2011-06-27 03:04:07 UTC (rev 312508) @@ -12,7 +12,7 @@ +----------------------------------------------------------------------+ | Author: Laruence | +----------------------------------------------------------------------+ - $Id: cli.c 575 2011-03-08 11:12:08Z huixinchen $ + $Id$ */ Property changes on: pecl/yaf/trunk/response/cli.c ___________________________________________________________________ Added: svn:keywords + Id Author Modified: pecl/yaf/trunk/response/http.c =================================================================== --- pecl/yaf/trunk/response/http.c 2011-06-27 01:39:01 UTC (rev 312507) +++ pecl/yaf/trunk/response/http.c 2011-06-27 03:04:07 UTC (rev 312508) @@ -12,7 +12,7 @@ +----------------------------------------------------------------------+ | Author: Laruence | +----------------------------------------------------------------------+ - $Id: http.c 575 2011-03-08 11:12:08Z huixinchen $ + $Id$ */ Property changes on: pecl/yaf/trunk/response/http.c ___________________________________________________________________ Added: svn:keywords + Id Author Modified: pecl/yaf/trunk/routes/interface.c =================================================================== --- pecl/yaf/trunk/routes/interface.c 2011-06-27 01:39:01 UTC (rev 312507) +++ pecl/yaf/trunk/routes/interface.c 2011-06-27 03:04:07 UTC (rev 312508) @@ -12,7 +12,7 @@ +----------------------------------------------------------------------+ | Author: Laruence | +----------------------------------------------------------------------+ - $Id: interface.c 1850 2011-05-03 05:55:15Z huixinchen $ + $Id$ */ #include "ext/standard/php_smart_str.h" Property changes on: pecl/yaf/trunk/routes/interface.c ___________________________________________________________________ Added: svn:keywords + Id Author Modified: pecl/yaf/trunk/routes/map.c =================================================================== --- pecl/yaf/trunk/routes/map.c 2011-06-27 01:39:01 UTC (rev 312507) +++ pecl/yaf/trunk/routes/map.c 2011-06-27 03:04:07 UTC (rev 312508) @@ -12,7 +12,7 @@ +----------------------------------------------------------------------+ | Author: Laruence | +----------------------------------------------------------------------+ - $Id: map.c 575 2011-03-08 11:12:08Z huixinchen $ + $Id$ */ zend_class_entry * yaf_route_map_ce; Property changes on: pecl/yaf/trunk/routes/map.c ___________________________________________________________________ Added: svn:keywords + Id Author Modified: pecl/yaf/trunk/routes/regex.c =================================================================== --- pecl/yaf/trunk/routes/regex.c 2011-06-27 01:39:01 UTC (rev 312507) +++ pecl/yaf/trunk/routes/regex.c 2011-06-27 03:04:07 UTC (rev 312508) @@ -12,7 +12,7 @@ +----------------------------------------------------------------------+ | Author: Laruence | +----------------------------------------------------------------------+ - $Id: regex.c 575 2011-03-08 11:12:08Z huixinchen $ + $Id$ */ zend_class_entry * yaf_route_regex_ce; Property changes on: pecl/yaf/trunk/routes/regex.c ___________________________________________________________________ Added: svn:keywords + Id Author Modified: pecl/yaf/trunk/routes/rewrite.c =================================================================== --- pecl/yaf/trunk/routes/rewrite.c 2011-06-27 01:39:01 UTC (rev 312507) +++ pecl/yaf/trunk/routes/rewrite.c 2011-06-27 03:04:07 UTC (rev 312508) @@ -12,7 +12,7 @@ +----------------------------------------------------------------------+ | Author: Laruence | +----------------------------------------------------------------------+ - $Id: rewrite.c 722 2011-03-14 10:51:14Z huixinchen $ + $Id$ */ zend_class_entry * yaf_route_rewrite_ce; Property changes on: pecl/yaf/trunk/routes/rewrite.c ___________________________________________________________________ Added: svn:keywords + Id Author Modified: pecl/yaf/trunk/routes/simple.c =================================================================== --- pecl/yaf/trunk/routes/simple.c 2011-06-27 01:39:01 UTC (rev 312507) +++ pecl/yaf/trunk/routes/simple.c 2011-06-27 03:04:07 UTC (rev 312508) @@ -12,7 +12,7 @@ +----------------------------------------------------------------------+ | Author: Laruence | +----------------------------------------------------------------------+ - $Id: simple.c 575 2011-03-08 11:12:08Z huixinchen $ + $Id$ */ zend_class_entry * yaf_route_simple_ce; Property changes on: pecl/yaf/trunk/routes/simple.c ___________________________________________________________________ Added: svn:keywords + Id Author Modified: pecl/yaf/trunk/routes/static.c =================================================================== --- pecl/yaf/trunk/routes/static.c 2011-06-27 01:39:01 UTC (rev 312507) +++ pecl/yaf/trunk/routes/static.c 2011-06-27 03:04:07 UTC (rev 312508) @@ -12,7 +12,7 @@ +----------------------------------------------------------------------+ | Author: Laruence | +----------------------------------------------------------------------+ - $Id: static.c 591 2011-03-08 16:06:49Z huixinchen $ + $Id$ */ zend_class_entry * yaf_route_static_ce; Property changes on: pecl/yaf/trunk/routes/static.c ___________________________________________________________________ Added: svn:keywords + Id Author Modified: pecl/yaf/trunk/routes/supervar.c =================================================================== --- pecl/yaf/trunk/routes/supervar.c 2011-06-27 01:39:01 UTC (rev 312507) +++ pecl/yaf/trunk/routes/supervar.c 2011-06-27 03:04:07 UTC (rev 312508) @@ -12,7 +12,7 @@ +----------------------------------------------------------------------+ | Author: Laruence | +----------------------------------------------------------------------+ - $Id: supervar.c 591 2011-03-08 16:06:49Z huixinchen $ + $Id$ */ #define YAF_ROUTE_SUPERVAR_PROPETY_NAME_VAR "_var_name" Property changes on: pecl/yaf/trunk/routes/supervar.c ___________________________________________________________________ Added: svn:keywords + Id Author Added: pecl/yaf/trunk/tests/001.phpt =================================================================== --- pecl/yaf/trunk/tests/001.phpt (rev 0) +++ pecl/yaf/trunk/tests/001.phpt 2011-06-27 03:04:07 UTC (rev 312508) @@ -0,0 +1,21 @@ +--TEST-- +Check for yaf presence +--SKIPIF-- + +--FILE-- + +--EXPECT-- +yaf extension is available Added: pecl/yaf/trunk/tests/002.phpt =================================================================== --- pecl/yaf/trunk/tests/002.phpt (rev 0) +++ pecl/yaf/trunk/tests/002.phpt 2011-06-27 03:04:07 UTC (rev 312508) @@ -0,0 +1,70 @@ +--TEST-- +Check for Yaf_Request_Simple +--SKIPIF-- + +--FILE-- +setParam("name", "Laruence")); +var_dump($request->isCli()); +var_dump($request->getParam("name")); +var_dump($request->getParam("notexists")); + +?> +--EXPECTF-- +object(Yaf_Request_Simple)#%d (11) { + ["module"]=> + string(5) "index" + ["controller"]=> + string(5) "index" + ["action"]=> + string(5) "index" + ["method"]=> + string(3) "CLI" + ["params:protected"]=> + array(0) { + } + ["language:protected"]=> + NULL + ["_exception:protected"]=> + NULL + ["_base_uri:protected"]=> + string(0) "" + ["uri:protected"]=> + string(0) "" + ["dispatched:protected"]=> + bool(false) + ["routed:protected"]=> + bool(true) +} +object(Yaf_Request_Simple)#%d (11) { + ["module"]=> + string(5) "index" + ["controller"]=> + string(5) "index" + ["action"]=> + string(5) "index" + ["method"]=> + string(3) "CLI" + ["params:protected"]=> + array(1) { + ["name"]=> + string(8) "Laruence" + } + ["language:protected"]=> + NULL + ["_exception:protected"]=> + NULL + ["_base_uri:protected"]=> + string(0) "" + ["uri:protected"]=> + string(0) "" + ["dispatched:protected"]=> + bool(false) + ["routed:protected"]=> + bool(true) +} +bool(true) +string(8) "Laruence" +NULL Added: pecl/yaf/trunk/tests/003.phpt =================================================================== --- pecl/yaf/trunk/tests/003.phpt (rev 0) +++ pecl/yaf/trunk/tests/003.phpt 2011-06-27 03:04:07 UTC (rev 312508) @@ -0,0 +1,31 @@ +--TEST-- +Check for Yaf_Loader +--SKIPIF-- + +--FILE-- +registerLocalNamespace("Baidu"); +var_dump($loader->isLocalName("Baidu_Name")); + +try { + var_dump($loader->autoload("Baidu_Name")); +} catch (Yaf_Exception_LoadFailed $e) { + var_dump($e->getMessage()); +} +try { + var_dump($loader->autoload("Global_Name")); +} catch (Yaf_Exception_LoadFailed $e) { + var_dump($e->getMessage()); +} + +?> +--EXPECTF-- +bool(true) + +Warning: could not find script %s/Baidu/Name.php in %s +bool(true) + +Warning: could not find script %s/global/Global/Name.php in %s +bool(true) Added: pecl/yaf/trunk/tests/004.phpt =================================================================== --- pecl/yaf/trunk/tests/004.phpt (rev 0) +++ pecl/yaf/trunk/tests/004.phpt 2011-06-27 03:04:07 UTC (rev 312508) @@ -0,0 +1,28 @@ +--TEST-- +Check for Yaf_Registry +--SKIPIF-- + +--FILE-- + +--EXPECT-- +string(14) "Ageli Platform" +bool(true) +NULL +bool(false) Added: pecl/yaf/trunk/tests/005.phpt =================================================================== --- pecl/yaf/trunk/tests/005.phpt (rev 0) +++ pecl/yaf/trunk/tests/005.phpt 2011-06-27 03:04:07 UTC (rev 312508) @@ -0,0 +1,35 @@ +--TEST-- +Check for Yaf_Response +--SKIPIF-- + +--FILE-- +appendBody($body); +$response->prependBody($string); +$response->appendBody("kfjdaksljfklajdsfkljasdkljfkjasdf"); + +$body = $response->getBody(); +unset($body); + +debug_zval_dump($response->getBody()); +unset($string); +debug_zval_dump($response->getBody()); +echo $response; +debug_zval_dump($response->getBody()); +$response->response(); +debug_zval_dump($response->getBody()); +?> +--EXPECTF-- +string(75) "laruenceifjakdsljfklasdjfkljasdkljfkljadsfkfjdaksljfklajdsfkljasdkljfkjasdf" refcount(1) +string(75) "laruenceifjakdsljfklasdjfkljasdkljfkljadsfkfjdaksljfklajdsfkljasdkljfkjasdf" refcount(1) +laruenceifjakdsljfklasdjfkljasdkljfkljadsfkfjdaksljfklajdsfkljasdkljfkjasdfstring(75) "laruenceifjakdsljfklasdjfkljasdkljfkljadsfkfjdaksljfklajdsfkljasdkljfkjasdf" refcount(1) +laruenceifjakdsljfklasdjfkljasdkljfkljadsfkfjdaksljfklajdsfkljasdkljfkjasdfstring(75) "laruenceifjakdsljfklasdjfkljasdkljfkljadsfkfjdaksljfklajdsfkljasdkljfkjasdf" refcount(1) Added: pecl/yaf/trunk/tests/006.phpt =================================================================== --- pecl/yaf/trunk/tests/006.phpt (rev 0) +++ pecl/yaf/trunk/tests/006.phpt 2011-06-27 03:04:07 UTC (rev 312508) @@ -0,0 +1,51 @@ +--TEST-- +Check for Yaf_Route_Static +--SKIPIF-- + +--FILE-- +route($request)); + +var_dump($request); +?> +--EXPECTF-- +bool(true) +object(Yaf_Request_Http)#%d (11) { + ["module"]=> + NULL + ["controller"]=> + string(10) "controller" + ["action"]=> + string(6) "action" + ["method"]=> + string(3) "Cli" + ["params:protected"]=> + array(2) { + ["name"]=> + string(8) "laruence" + ["age"]=> + string(2) "28" + } + ["language:protected"]=> + NULL + ["_exception:protected"]=> + NULL + ["_base_uri:protected"]=> + string(8) "/prefix/" + ["uri:protected"]=> + string(46) "/prefix/controller/action/name/laruence/age/28" + ["dispatched:protected"]=> + bool(false) + ["routed:protected"]=> + bool(false) +} Added: pecl/yaf/trunk/tests/007.phpt =================================================================== --- pecl/yaf/trunk/tests/007.phpt (rev 0) +++ pecl/yaf/trunk/tests/007.phpt 2011-06-27 03:04:07 UTC (rev 312508) @@ -0,0 +1,102 @@ +--TEST-- +Check for Yaf_Config_Simple +--SKIPIF-- + +--FILE-- + array( + 'name' => 'value', + 'dummy' => 'foo', + ), + 'section2' => "laruence", +); + +$config1 = new Yaf_Config_Simple($config, 'section2'); +var_dump($config1); +$config2 = new Yaf_Config_Simple($config, 'section1'); +var_dump($config2->readonly()); +$config2->new = "value"; +var_dump(isset($config->new)); +$config3 = new Yaf_Config_Simple($config); +unset($config); + +echo "Isset config3 section:"; +var_dump(isset($config3["section2"])); +$config3->new = "value"; +echo "Config3 readonly:"; +var_dump($config3->readonly()); + +foreach($config3 as $key => $val) { + var_dump($key); + var_dump($val); +} + +var_dump($config3->toArray()); + +$sick = new Yaf_Config_Simple(); + +var_dump($sick->__isset(1)); +var_dump($sick->__get(2)); +$sick->total = 1; +var_dump(count($sick)); +var_dump($sick->total); +?> +--EXPECTF-- +object(Yaf_Config_Simple)#%d (2) { + ["_config:protected"]=> + array(2) { + ["section1"]=> + array(2) { + ["name"]=> + string(5) "value" + ["dummy"]=> + string(3) "foo" + } + ["section2"]=> + string(8) "laruence" + } + ["_readonly:protected"]=> + bool(true) +} +bool(true) +bool(false) +Isset config3 section:bool(true) +Config3 readonly:bool(false) +string(8) "section1" +object(Yaf_Config_Simple)#%d (2) { + ["_config:protected"]=> + array(2) { + ["name"]=> + string(5) "value" + ["dummy"]=> + string(3) "foo" + } + ["_readonly:protected"]=> + bool(false) +} +string(8) "section2" +string(8) "laruence" +string(3) "new" +string(5) "value" +array(3) { + ["section1"]=> + array(2) { + ["name"]=> + string(5) "value" + ["dummy"]=> + string(3) "foo" + } + ["section2"]=> + string(8) "laruence" + ["new"]=> + string(5) "value" +} + +Warning: %s + +Warning: %s +bool(false) +bool(false) +int(1) +int(1) Added: pecl/yaf/trunk/tests/008.phpt =================================================================== --- pecl/yaf/trunk/tests/008.phpt (rev 0) +++ pecl/yaf/trunk/tests/008.phpt 2011-06-27 03:04:07 UTC (rev 312508) @@ -0,0 +1,72 @@ +--TEST-- +Check for Yaf_Router +--SKIPIF-- + +--FILE-- +addRoute("simple", $route)->addRoute("super", $sroute); +var_dump($router); +var_dump($router->getCurrentRoute()); +var_dump($router->getRoutes()); +var_dump($router->getRoute("simple")); +var_dump($router->getRoute("noexists")); +--EXPECTF-- +object(Yaf_Router)#%d (2) { + ["_routes:protected"]=> + array(3) { + ["_default"]=> + object(Yaf_Route_Static)#%d (0) { + } + ["simple"]=> + object(Yaf_Route_Simple)#%d (3) { + ["controller:protected"]=> + string(1) "c" + ["module:protected"]=> + string(1) "m" + ["action:protected"]=> + string(1) "a" + } + ["super"]=> + object(Yaf_Route_Supervar)#%d (1) { + ["_var_name:protected"]=> + string(1) "r" + } + } + ["_current:protected"]=> + NULL +} +NULL +array(3) { + ["_default"]=> + object(Yaf_Route_Static)#%d (0) { + } + ["simple"]=> + object(Yaf_Route_Simple)#%d (3) { + ["controller:protected"]=> + string(1) "c" + ["module:protected"]=> + string(1) "m" + ["action:protected"]=> + string(1) "a" + } + ["super"]=> + object(Yaf_Route_Supervar)#%d (1) { + ["_var_name:protected"]=> + string(1) "r" + } +} +object(Yaf_Route_Simple)#%d (3) { + ["controller:protected"]=> + string(1) "c" + ["module:protected"]=> + string(1) "m" + ["action:protected"]=> + string(1) "a" +} +NULL Added: pecl/yaf/trunk/tests/009.phpt =================================================================== --- pecl/yaf/trunk/tests/009.phpt (rev 0) +++ pecl/yaf/trunk/tests/009.phpt 2011-06-27 03:04:07 UTC (rev 312508) @@ -0,0 +1,37 @@ +--TEST-- +Check for Yaf_View_Simple +--SKIPIF-- + +--FILE-- +assign("name", $value); +unset($value); +var_dump($view); +var_dump(strlen($view->render(dirname(__FILE__) . "/002.phpt"))); +var_dump($view->name); +var_dump($view->noexists); +var_dump($view); +--EXPECTF-- +object(Yaf_View_Simple)#1 (2) { + ["_tpl_vars:protected"]=> + array(1) { + ["name"]=> + string(8) "laruence" + } + ["_tpl_dir:protected"]=> + string(%d) "%s" +} +int(2038) +string(8) "laruence" +NULL +object(Yaf_View_Simple)#1 (2) { + ["_tpl_vars:protected"]=> + array(1) { + ["name"]=> + string(8) "laruence" + } + ["_tpl_dir:protected"]=> + string(%d) "%s" +} Added: pecl/yaf/trunk/tests/010.phpt =================================================================== --- pecl/yaf/trunk/tests/010.phpt (rev 0) +++ pecl/yaf/trunk/tests/010.phpt 2011-06-27 03:04:07 UTC (rev 312508) @@ -0,0 +1,311 @@ +--TEST-- +Check for Yaf_Config_Ini +--SKIPIF-- + +--FILE-- +longtime = 23424234324; +var_dump($config->readonly()); + +foreach($config as $key => $value) { + print_r($key); +} + +$sick = @new Yaf_Config_Ini(); + +var_dump($sick->__isset(1)); +var_dump($sick->__get(1)); +$sick->total = 1; + +var_dump(count($sick)); +?> +--EXPECTF-- +Yaf_Config_Ini Object +( + [_config:protected] => Array + ( + [base] => Array + ( + [application] => Array + ( + [directory] => APPLICATION_PATCH/applcation + ) + + [name] => base + [array] => Array + ( + [1] => 5 + [name] => name + ) + + [routes] => Array + ( + [regex] => Array + ( + [type] => regex + [route] => ^/ap/(.*) + [default] => Array + ( + [controller] => Index + [action] => action + ) + + [map] => Array + ( + [0] => name + [1] => name + [2] => value + ) + + ) + + [simple] => Array + ( + [type] => simple + [controller] => c + [module] => m + [action] => a + ) + + [supervar] => Array + ( + [type] => supervar + [varname] => c + ) + + [rewrite] => Array + ( + [type] => rewrite + [route] => /ap/:name/:value + [default] => Array + ( + [controller] => Index + [action] => action + ) + + ) + + ) + + ) + + [extra] => Array + ( + [application] => Array + ( + [directory] => APPLICATION_PATCH/applcation + ) + + [name] => extra + [array] => Array + ( + [1] => 5 + [name] => new_name + [2] => test + ) + + [routes] => Array + ( + [regex] => Array + ( + [type] => regex + [route] => ^/ap/(.*) + [default] => Array + ( + [controller] => Index + [action] => action + ) + + [map] => Array + ( + [0] => name + [1] => name + [2] => value + ) + + ) + + [simple] => Array + ( + [type] => simple + [controller] => c + [module] => m + [action] => a + ) + + [supervar] => Array + ( + [type] => supervar + [varname] => c + ) + + [rewrite] => Array + ( + [type] => rewrite + [route] => /ap/:name/:value + [default] => Array + ( + [controller] => Index + [action] => action + ) + + ) + + ) + + [value] => 2 + ) + + [product] => Array + ( + [application] => Array + ( + [directory] => APPLICATION_PATCH/applcation + ) + + [name] => extra + [array] => Array + ( + [1] => 5 + [name] => new_name + [2] => test + ) + + [routes] => Array + ( + [regex] => Array + ( + [type] => regex + [route] => ^/ap/(.*) + [default] => Array + ( + [controller] => Index + [action] => action + ) + + [map] => Array + ( + [0] => name + [1] => name + [2] => value + ) + + ) + + [simple] => Array + ( + [type] => simple + [controller] => c + [module] => m + [action] => a + ) + + [supervar] => Array + ( + [type] => supervar + [varname] => c + ) + + [rewrite] => Array + ( + [type] => rewrite + [route] => /ap/:name/:value + [default] => Array + ( + [controller] => Index + [action] => action + ) + + ) + + ) + + [value] => 2 + ) + + ) + + [_readonly:protected] => 1 +) +Yaf_Config_Ini Object +( + [_config:protected] => Array + ( + [application] => Array + ( + [directory] => APPLICATION_PATCH/applcation + ) + + [name] => extra + [array] => Array + ( + [1] => 5 + [name] => new_name + [2] => test + ) + + [routes] => Array + ( + [regex] => Array + ( + [type] => regex + [route] => ^/ap/(.*) + [default] => Array + ( + [controller] => Index + [action] => action + ) + + [map] => Array + ( + [0] => name + [1] => name + [2] => value + ) + + ) + + [simple] => Array + ( + [type] => simple + [controller] => c + [module] => m + [action] => a + ) + + [supervar] => Array + ( + [type] => supervar + [varname] => c + ) + + [rewrite] => Array + ( + [type] => rewrite + [route] => /ap/:name/:value + [default] => Array + ( + [controller] => Index + [action] => action + ) + + ) + + ) + + [value] => 2 + ) + + [_readonly:protected] => 1 +) +bool(true) +baseextraproductbool(false) +NULL +int(0) Added: pecl/yaf/trunk/tests/011.phpt =================================================================== --- pecl/yaf/trunk/tests/011.phpt (rev 0) +++ pecl/yaf/trunk/tests/011.phpt 2011-06-27 03:04:07 UTC (rev 312508) @@ -0,0 +1,37 @@ +--TEST-- +Check for Yaf_Route_Rewrite +--SKIPIF-- + +--FILE-- + "version", + ) +); + +$router->addRoute("subdir", $route)->addRoute("ap", new Yaf_Route_Rewrite( + "/ap/:version/*", + array( + "action" => 'ap', + ) +))->route($request); + +var_dump($router->getCurrentRoute()); +var_dump($request->getParam('version')); +var_dump($request->getActionName()); +var_dump($request->getControllerName()); +var_dump($request->getParam('name')); + +?> +--EXPECTF-- +string(2) "ap" +string(3) "1.2" +string(2) "ap" +NULL +string(5) "value" Added: pecl/yaf/trunk/tests/012.phpt =================================================================== --- pecl/yaf/trunk/tests/012.phpt (rev 0) +++ pecl/yaf/trunk/tests/012.phpt 2011-06-27 03:04:07 UTC (rev 312508) @@ -0,0 +1,42 @@ +--TEST-- +Check for Yaf_Route_Regex +--SKIPIF-- + +--FILE-- + "version", + ), + array( + ) +); + +$router->addRoute("subdir", $route)->addRoute("ap", new Yaf_Route_Regex( + "#^/ap/([^/]*)/*#i", + array( + "action" => 'ap', + ), + array( + 1 => 'version', + ) +))->route($request); + +var_dump($router->getCurrentRoute()); +var_dump($request->getParam('version')); +var_dump($request->getActionName()); +var_dump($request->getControllerName()); +var_dump($request->getParam('name')); + +?> +--EXPECTF-- +string(2) "ap" +string(3) "1.2" +string(2) "ap" +NULL +NULL Added: pecl/yaf/trunk/tests/013.phpt =================================================================== --- pecl/yaf/trunk/tests/013.phpt (rev 0) +++ pecl/yaf/trunk/tests/013.phpt 2011-06-27 03:04:07 UTC (rev 312508) @@ -0,0 +1,68 @@ +--TEST-- +Check for Yaf_Router and Config Routes +--SKIPIF-- + +--FILE-- +routes; + +$router = new Yaf_Router(); +$router->addConfig($routes); + +print_r($router->getRoutes()); +?> +--EXPECTF-- +Array +( + [_default] => Yaf_Route_Static Object + ( + ) + + [regex] => Yaf_Route_Regex Object + ( + [_route:protected] => ^/ap/(.*) + [_default:protected] => Array + ( + [controller] => Index + [action] => action + ) + + [_maps:protected] => Array + ( + [0] => name + [1] => name + [2] => value + ) + + [_verify:protected] => + ) + + [simple] => Yaf_Route_Simple Object + ( + [controller:protected] => c + [module:protected] => m + [action:protected] => a + ) + + [supervar] => Yaf_Route_Supervar Object + ( + [_var_name:protected] => c + ) + + [rewrite] => Yaf_Route_Rewrite Object + ( + [_route:protected] => /ap/:name/:value + [_default:protected] => Array + ( + [controller] => Index + [action] => action + ) + + [_verify:protected] => + ) + +) Added: pecl/yaf/trunk/tests/014.phpt =================================================================== --- pecl/yaf/trunk/tests/014.phpt (rev 0) +++ pecl/yaf/trunk/tests/014.phpt 2011-06-27 03:04:07 UTC (rev 312508) @@ -0,0 +1,151 @@ +--TEST-- +Check for Yaf_Application +--SKIPIF-- + +--FILE-- + +--EXPECTF-- +Yaf_Application Object +( + [config:protected] => Yaf_Config_Ini Object + ( + [_config:protected] => Array + ( + [application] => Array + ( + [directory] => APPLICATION_PATCH/applcation + ) + + [name] => extra + [array] => Array + ( + [1] => 5 + [name] => new_name + [2] => test + ) + + [routes] => Array + ( + [regex] => Array + ( + [type] => regex + [route] => ^/ap/(.*) + [default] => Array + ( + [controller] => Index + [action] => action + ) + + [map] => Array + ( + [0] => name + [1] => name + [2] => value + ) + + ) + + [simple] => Array + ( + [type] => simple + [controller] => c + [module] => m + [action] => a + ) + + [supervar] => Array + ( + [type] => supervar + [varname] => c + ) + + [rewrite] => Array + ( + [type] => rewrite + [route] => /ap/:name/:value + [default] => Array + ( + [controller] => Index + [action] => action + ) + + ) + + ) + + [value] => 2 + ) + + [_readonly:protected] => 1 + ) + + [dispatcher:protected] => Yaf_Dispatcher Object + ( + [_router:protected] => Yaf_Router Object + ( + [_routes:protected] => Array + ( + [_default] => Yaf_Route_Static Object + ( + ) + + ) + + [_current:protected] => + ) + + [_view:protected] => + [_request:protected] => Yaf_Request_Http Object + ( + [module] => + [controller] => + [action] => + [method] => Cli + [params:protected] => Array + ( + ) + + [language:protected] => + [_exception:protected] => + [_base_uri:protected] => + [uri:protected] => + [dispatched:protected] => + [routed:protected] => + ) + + [_plugins:protected] => Array + ( + ) + + [_auto_render:protected] => 1 + [_return_response:protected] => + [_instantly_flush:protected] => + [_default_module:protected] => Index + [_default_controller:protected] => Index + [_default_action:protected] => index + [_response] => Yaf_Response_Cli Object + ( + [_header:protected] => Array + ( + ) + + [_body:protected] => + [_sendheader:protected] => + ) + + ) + + [_modules:protected] => Array + ( + [0] => Index + ) + + [_running:protected] => + [_environ:protected] => product +) Added: pecl/yaf/trunk/tests/015.phpt =================================================================== --- pecl/yaf/trunk/tests/015.phpt (rev 0) +++ pecl/yaf/trunk/tests/015.phpt 2011-06-27 03:04:07 UTC (rev 312508) @@ -0,0 +1,17 @@ +--TEST-- +Check for Yaf_Exception +--SKIPIF-- + +--FILE-- +getPrevious()); +var_dump($exception->getMessage()); +var_dump($exception->getPrevious()->getCode()); +?> +--EXPECTF-- +bool(true) +string(9) "Exception" +int(100) Added: pecl/yaf/trunk/tests/016.phpt =================================================================== --- pecl/yaf/trunk/tests/016.phpt (rev 0) +++ pecl/yaf/trunk/tests/016.phpt 2011-06-27 03:04:07 UTC (rev 312508) @@ -0,0 +1,37 @@ +--TEST-- +Check for Yaf_Session +--SKIPIF-- + +--FILE-- +age = $age; +unset($age); + +$session["company"] = "Baidu"; + +var_dump(isset($session->age)); +var_dump($session->has("name")); +var_dump(count($session)); +foreach ($session as $key => $value) { + echo $key , "=>", $value, "\n"; +} + +$session->del("name"); +unset($session["company"]); +unset($session->age); + +var_dump(count($session)); +?> +--EXPECTF-- +bool(true) +bool(true) +int(3) +name=>Laruence +age=>28 +company=>Baidu +int(0) Added: pecl/yaf/trunk/tests/simple.ini =================================================================== --- pecl/yaf/trunk/tests/simple.ini (rev 0) +++ pecl/yaf/trunk/tests/simple.ini 2011-06-27 03:04:07 UTC (rev 312508) @@ -0,0 +1,31 @@ +[base] +application.directory=APPLICATION_PATCH "/applcation" +name = base +array.1 = 1 +5=5 +array.name = name +routes.regex.type="regex" +routes.regex.route="^/ap/(.*)" +routes.regex.default.controller=Index +routes.regex.default.action=action +routes.regex.map.0=name +routes.regex.map.1=name +routes.regex.map.2=value +routes.simple.type="simple" +routes.simple.controller=c +routes.simple.module=m +routes.simple.action=a +routes.supervar.type="supervar" +routes.supervar.varname=c +routes.rewrite.type="rewrite" +routes.rewrite.route="/ap/:name/:value" +routes.rewrite.default.controller=Index +routes.rewrite.default.action=action + +[extra : base] +value = 2 +name = extra +array.name = new_name +array.2 = test + +[product : extra] Modified: pecl/yaf/trunk/views/interface.c =================================================================== --- pecl/yaf/trunk/views/interface.c 2011-06-27 01:39:01 UTC (rev 312507) +++ pecl/yaf/trunk/views/interface.c 2011-06-27 03:04:07 UTC (rev 312508) @@ -12,7 +12,7 @@ +----------------------------------------------------------------------+ | Author: Laruence | +----------------------------------------------------------------------+ - $Id: interface.c 1040 2011-03-23 05:27:42Z huixinchen $ + $Id$ */ zend_class_entry * yaf_view_interface_ce; Property changes on: pecl/yaf/trunk/views/interface.c ___________________________________________________________________ Added: svn:keywords + Id Author Modified: pecl/yaf/trunk/views/simple.c =================================================================== --- pecl/yaf/trunk/views/simple.c 2011-06-27 01:39:01 UTC (rev 312507) +++ pecl/yaf/trunk/views/simple.c 2011-06-27 03:04:07 UTC (rev 312508) @@ -12,7 +12,7 @@ +----------------------------------------------------------------------+ | Author: Laruence | +----------------------------------------------------------------------+ - $Id: simple.c 1878 2011-05-05 06:28:08Z huixinchen $ + $Id$ */ #include "main/php_output.h" Property changes on: pecl/yaf/trunk/views/simple.c ___________________________________________________________________ Added: svn:keywords + Id Author Modified: pecl/yaf/trunk/yaf.c =================================================================== --- pecl/yaf/trunk/yaf.c 2011-06-27 01:39:01 UTC (rev 312507) +++ pecl/yaf/trunk/yaf.c 2011-06-27 03:04:07 UTC (rev 312508) @@ -12,7 +12,7 @@ +----------------------------------------------------------------------+ | Author: Laruence | +----------------------------------------------------------------------+ - $Id: yaf.c 52 2011-05-19 10:28:53Z laruence $ + $Id$ */ #ifdef HAVE_CONFIG_H Property changes on: pecl/yaf/trunk/yaf.c ___________________________________________________________________ Added: svn:keywords + Id Author Modified: pecl/yaf/trunk/yaf_action.c =================================================================== --- pecl/yaf/trunk/yaf_action.c 2011-06-27 01:39:01 UTC (rev 312507) +++ pecl/yaf/trunk/yaf_action.c 2011-06-27 03:04:07 UTC (rev 312508) @@ -12,7 +12,7 @@ +----------------------------------------------------------------------+ | Author: Laruence | +----------------------------------------------------------------------+ - $Id: yaf_action.c 52 2011-05-19 10:28:53Z laruence $ + $Id$ */ #ifdef HAVE_CONFIG_H Property changes on: pecl/yaf/trunk/yaf_action.c ___________________________________________________________________ Added: svn:keywords + Id Author Modified: pecl/yaf/trunk/yaf_action.h =================================================================== --- pecl/yaf/trunk/yaf_action.h 2011-06-27 01:39:01 UTC (rev 312507) +++ pecl/yaf/trunk/yaf_action.h 2011-06-27 03:04:07 UTC (rev 312508) @@ -12,7 +12,7 @@ +----------------------------------------------------------------------+ | Author: Laruence | +----------------------------------------------------------------------+ - $Id: yaf_action.h 53 2011-06-01 02:57:04Z laruence $ + $Id$ */ #ifndef YAF_ACTION_H Property changes on: pecl/yaf/trunk/yaf_action.h ___________________________________________________________________ Added: svn:keywords + Id Author Modified: pecl/yaf/trunk/yaf_application.c =================================================================== --- pecl/yaf/trunk/yaf_application.c 2011-06-27 01:39:01 UTC (rev 312507) +++ pecl/yaf/trunk/yaf_application.c 2011-06-27 03:04:07 UTC (rev 312508) @@ -12,7 +12,7 @@ +----------------------------------------------------------------------+ | Author: Laruence | +----------------------------------------------------------------------+ - $Id: yaf_application.c 52 2011-05-19 10:28:53Z laruence $ + $Id$ */ #ifdef HAVE_CONFIG_H Property changes on: pecl/yaf/trunk/yaf_application.c ___________________________________________________________________ Added: svn:keywords + Id Author Modified: pecl/yaf/trunk/yaf_application.h =================================================================== --- pecl/yaf/trunk/yaf_application.h 2011-06-27 01:39:01 UTC (rev 312507) +++ pecl/yaf/trunk/yaf_application.h 2011-06-27 03:04:07 UTC (rev 312508) @@ -12,7 +12,7 @@ +----------------------------------------------------------------------+ | Author: Laruence | +----------------------------------------------------------------------+ - $Id: yaf_application.h 53 2011-06-01 02:57:04Z laruence $ + $Id$ */ #ifndef PHP_YAF_APPLICATION_H Property changes on: pecl/yaf/trunk/yaf_application.h ___________________________________________________________________ Added: svn:keywords + Id Author Modified: pecl/yaf/trunk/yaf_autoloader.c =================================================================== --- pecl/yaf/trunk/yaf_autoloader.c 2011-06-27 01:39:01 UTC (rev 312507) +++ pecl/yaf/trunk/yaf_autoloader.c 2011-06-27 03:04:07 UTC (rev 312508) @@ -13,7 +13,7 @@ | obtain it through the world-wide-web, please send a note to | | license@php.net so we can mail you a copy immediately. | +----------------------------------------------------------------------+ - $Id: yaf_autoloader.c 51 2011-05-13 10:06:11Z laruence $ + $Id$ */ #include "php.h" Property changes on: pecl/yaf/trunk/yaf_autoloader.c ___________________________________________________________________ Added: svn:keywords + Id Author Modified: pecl/yaf/trunk/yaf_bootstrap.c =================================================================== --- pecl/yaf/trunk/yaf_bootstrap.c 2011-06-27 01:39:01 UTC (rev 312507) +++ pecl/yaf/trunk/yaf_bootstrap.c 2011-06-27 03:04:07 UTC (rev 312508) @@ -12,7 +12,7 @@ +----------------------------------------------------------------------+ | Author: Laruence | +----------------------------------------------------------------------+ - $Id: yaf_bootstrap.c 51 2011-05-13 10:06:11Z laruence $ + $Id$ */ #ifdef HAVE_CONFIG_H Property changes on: pecl/yaf/trunk/yaf_bootstrap.c ___________________________________________________________________ Added: svn:keywords + Id Author Modified: pecl/yaf/trunk/yaf_bootstrap.h =================================================================== --- pecl/yaf/trunk/yaf_bootstrap.h 2011-06-27 01:39:01 UTC (rev 312507) +++ pecl/yaf/trunk/yaf_bootstrap.h 2011-06-27 03:04:07 UTC (rev 312508) @@ -12,7 +12,7 @@ +----------------------------------------------------------------------+ | Author: Laruence | +----------------------------------------------------------------------+ - $Id: yaf_bootstrap.h 53 2011-06-01 02:57:04Z laruence $ + $Id$ */ #ifndef YAF_BOOTSTRAP_H Property changes on: pecl/yaf/trunk/yaf_bootstrap.h ___________________________________________________________________ Added: svn:keywords + Id Author Modified: pecl/yaf/trunk/yaf_config.c =================================================================== --- pecl/yaf/trunk/yaf_config.c 2011-06-27 01:39:01 UTC (rev 312507) +++ pecl/yaf/trunk/yaf_config.c 2011-06-27 03:04:07 UTC (rev 312508) @@ -12,7 +12,7 @@ +----------------------------------------------------------------------+ | Author: Laruence | +----------------------------------------------------------------------+ - $Id: yaf_config.c 51 2011-05-13 10:06:11Z laruence $ + $Id$ */ #ifdef HAVE_CONFIG_H Property changes on: pecl/yaf/trunk/yaf_config.c ___________________________________________________________________ Added: svn:keywords + Id Author Modified: pecl/yaf/trunk/yaf_config.h =================================================================== --- pecl/yaf/trunk/yaf_config.h 2011-06-27 01:39:01 UTC (rev 312507) +++ pecl/yaf/trunk/yaf_config.h 2011-06-27 03:04:07 UTC (rev 312508) @@ -12,7 +12,7 @@ +----------------------------------------------------------------------+ | Author: Laruence | +----------------------------------------------------------------------+ - $Id: yaf_config.h 53 2011-06-01 02:57:04Z laruence $ + $Id$ */ #ifndef YAF_CONFIG_H Property changes on: pecl/yaf/trunk/yaf_config.h ___________________________________________________________________ Added: svn:keywords + Id Author Modified: pecl/yaf/trunk/yaf_controller.c =================================================================== --- pecl/yaf/trunk/yaf_controller.c 2011-06-27 01:39:01 UTC (rev 312507) +++ pecl/yaf/trunk/yaf_controller.c 2011-06-27 03:04:07 UTC (rev 312508) @@ -12,7 +12,7 @@ +----------------------------------------------------------------------+ | Author: Laruence | +----------------------------------------------------------------------+ - $Id: yaf_controller.c 51 2011-05-13 10:06:11Z laruence $ + $Id$ */ #ifdef HAVE_CONFIG_H Property changes on: pecl/yaf/trunk/yaf_controller.c ___________________________________________________________________ Added: svn:keywords + Id Author Modified: pecl/yaf/trunk/yaf_controller.h =================================================================== --- pecl/yaf/trunk/yaf_controller.h 2011-06-27 01:39:01 UTC (rev 312507) +++ pecl/yaf/trunk/yaf_controller.h 2011-06-27 03:04:07 UTC (rev 312508) @@ -12,7 +12,7 @@ +----------------------------------------------------------------------+ | Author: Laruence | +----------------------------------------------------------------------+ - $Id: yaf_controller.h 53 2011-06-01 02:57:04Z laruence $ + $Id$ */ #ifndef YAF_CONTROLLER_H Property changes on: pecl/yaf/trunk/yaf_controller.h ___________________________________________________________________ Added: svn:keywords + Id Author Modified: pecl/yaf/trunk/yaf_dispatcher.c =================================================================== --- pecl/yaf/trunk/yaf_dispatcher.c 2011-06-27 01:39:01 UTC (rev 312507) +++ pecl/yaf/trunk/yaf_dispatcher.c 2011-06-27 03:04:07 UTC (rev 312508) @@ -12,7 +12,7 @@ +----------------------------------------------------------------------+ | Author: Laruence | +----------------------------------------------------------------------+ - $Id: yaf_dispatcher.c 51 2011-05-13 10:06:11Z laruence $ + $Id$ */ #ifdef HAVE_CONFIG_H Property changes on: pecl/yaf/trunk/yaf_dispatcher.c ___________________________________________________________________ Added: svn:keywords + Id Author Modified: pecl/yaf/trunk/yaf_dispatcher.h =================================================================== --- pecl/yaf/trunk/yaf_dispatcher.h 2011-06-27 01:39:01 UTC (rev 312507) +++ pecl/yaf/trunk/yaf_dispatcher.h 2011-06-27 03:04:07 UTC (rev 312508) @@ -12,7 +12,7 @@ +----------------------------------------------------------------------+ | Author: Laruence | +----------------------------------------------------------------------+ - $Id: yaf_dispatcher.h 53 2011-06-01 02:57:04Z laruence $ + $Id$ */ #ifndef PHP_YAF_DISPATCHER_H Property changes on: pecl/yaf/trunk/yaf_dispatcher.h ___________________________________________________________________ Added: svn:keywords + Id Author Modified: pecl/yaf/trunk/yaf_exception.c =================================================================== --- pecl/yaf/trunk/yaf_exception.c 2011-06-27 01:39:01 UTC (rev 312507) +++ pecl/yaf/trunk/yaf_exception.c 2011-06-27 03:04:07 UTC (rev 312508) @@ -12,7 +12,7 @@ +----------------------------------------------------------------------+ | Author: Laruence | +----------------------------------------------------------------------+ - $Id: yaf_exception.c 51 2011-05-13 10:06:11Z laruence $ + $Id$ */ #ifdef HAVE_CONFIG_H Property changes on: pecl/yaf/trunk/yaf_exception.c ___________________________________________________________________ Added: svn:keywords + Id Author Modified: pecl/yaf/trunk/yaf_exception.h =================================================================== --- pecl/yaf/trunk/yaf_exception.h 2011-06-27 01:39:01 UTC (rev 312507) +++ pecl/yaf/trunk/yaf_exception.h 2011-06-27 03:04:07 UTC (rev 312508) @@ -12,7 +12,7 @@ +----------------------------------------------------------------------+ | Author: Laruence | +----------------------------------------------------------------------+ - $Id: yaf_exception.h 51 2011-05-13 10:06:11Z laruence $ + $Id$ */ #ifndef YAF_EXCEPTION_H Property changes on: pecl/yaf/trunk/yaf_exception.h ___________________________________________________________________ Added: svn:keywords + Id Author Modified: pecl/yaf/trunk/yaf_loader.c =================================================================== --- pecl/yaf/trunk/yaf_loader.c 2011-06-27 01:39:01 UTC (rev 312507) +++ pecl/yaf/trunk/yaf_loader.c 2011-06-27 03:04:07 UTC (rev 312508) @@ -12,7 +12,7 @@ +----------------------------------------------------------------------+ | Author: Laruence | +----------------------------------------------------------------------+ - $Id: yaf_loader.c 54 2011-06-12 06:20:16Z laruence $ + $Id$ */ #ifdef HAVE_CONFIG_H Property changes on: pecl/yaf/trunk/yaf_loader.c ___________________________________________________________________ Added: svn:keywords + Id Author Modified: pecl/yaf/trunk/yaf_loader.h =================================================================== --- pecl/yaf/trunk/yaf_loader.h 2011-06-27 01:39:01 UTC (rev 312507) +++ pecl/yaf/trunk/yaf_loader.h 2011-06-27 03:04:07 UTC (rev 312508) @@ -12,7 +12,7 @@ +----------------------------------------------------------------------+ | Author: Laruence | +----------------------------------------------------------------------+ - $Id: yaf_loader.h 53 2011-06-01 02:57:04Z laruence $ + $Id$ */ #ifndef YAF_LOADER_H Property changes on: pecl/yaf/trunk/yaf_loader.h ___________________________________________________________________ Added: svn:keywords + Id Author Modified: pecl/yaf/trunk/yaf_logo.h =================================================================== --- pecl/yaf/trunk/yaf_logo.h 2011-06-27 01:39:01 UTC (rev 312507) +++ pecl/yaf/trunk/yaf_logo.h 2011-06-27 03:04:07 UTC (rev 312508) @@ -12,7 +12,7 @@ +----------------------------------------------------------------------+ | Author: Laruence | +----------------------------------------------------------------------+ - $Id: yaf_logo.h 52 2011-05-19 10:28:53Z laruence $ + $Id$ */ #ifndef YAF_LOGO_H Property changes on: pecl/yaf/trunk/yaf_logo.h ___________________________________________________________________ Added: svn:keywords + Id Author Modified: pecl/yaf/trunk/yaf_namespace.h =================================================================== --- pecl/yaf/trunk/yaf_namespace.h 2011-06-27 01:39:01 UTC (rev 312507) +++ pecl/yaf/trunk/yaf_namespace.h 2011-06-27 03:04:07 UTC (rev 312508) @@ -12,7 +12,7 @@ +----------------------------------------------------------------------+ | Author: Laruence | +----------------------------------------------------------------------+ - $Id: yaf_namespace.h 51 2011-05-13 10:06:11Z laruence $ + $Id$ */ #ifndef YAF_NAMESPACE_H Property changes on: pecl/yaf/trunk/yaf_namespace.h ___________________________________________________________________ Added: svn:keywords + Id Author Modified: pecl/yaf/trunk/yaf_plugin.c =================================================================== --- pecl/yaf/trunk/yaf_plugin.c 2011-06-27 01:39:01 UTC (rev 312507) +++ pecl/yaf/trunk/yaf_plugin.c 2011-06-27 03:04:07 UTC (rev 312508) @@ -12,7 +12,7 @@ +----------------------------------------------------------------------+ | Author: Laruence | +----------------------------------------------------------------------+ - $Id: yaf_plugin.c 51 2011-05-13 10:06:11Z laruence $ + $Id$ */ #ifdef HAVE_CONFIG_H Property changes on: pecl/yaf/trunk/yaf_plugin.c ___________________________________________________________________ Added: svn:keywords + Id Author Modified: pecl/yaf/trunk/yaf_plugin.h =================================================================== --- pecl/yaf/trunk/yaf_plugin.h 2011-06-27 01:39:01 UTC (rev 312507) +++ pecl/yaf/trunk/yaf_plugin.h 2011-06-27 03:04:07 UTC (rev 312508) @@ -12,7 +12,7 @@ +----------------------------------------------------------------------+ | Author: Laruence | +----------------------------------------------------------------------+ - $Id: yaf_plugin.h 53 2011-06-01 02:57:04Z laruence $ + $Id$ */ #ifndef YAF_PLUGIN_H Property changes on: pecl/yaf/trunk/yaf_plugin.h ___________________________________________________________________ Added: svn:keywords + Id Author Modified: pecl/yaf/trunk/yaf_registry.c =================================================================== --- pecl/yaf/trunk/yaf_registry.c 2011-06-27 01:39:01 UTC (rev 312507) +++ pecl/yaf/trunk/yaf_registry.c 2011-06-27 03:04:07 UTC (rev 312508) @@ -13,7 +13,7 @@ | obtain it through the world-wide-web, please send a note to | | license@php.net so we can mail you a copy immediately. | +----------------------------------------------------------------------+ - $Id: yaf_registry.c 51 2011-05-13 10:06:11Z laruence $ + $Id$ */ #ifdef HAVE_CONFIG_H Property changes on: pecl/yaf/trunk/yaf_registry.c ___________________________________________________________________ Added: svn:keywords + Id Author Modified: pecl/yaf/trunk/yaf_registry.h =================================================================== --- pecl/yaf/trunk/yaf_registry.h 2011-06-27 01:39:01 UTC (rev 312507) +++ pecl/yaf/trunk/yaf_registry.h 2011-06-27 03:04:07 UTC (rev 312508) @@ -12,7 +12,7 @@ +----------------------------------------------------------------------+ | Author: Laruence | +----------------------------------------------------------------------+ - $Id: yaf_registry.h 53 2011-06-01 02:57:04Z laruence $ + $Id$ */ #ifndef YAF_REGISTRY_H Property changes on: pecl/yaf/trunk/yaf_registry.h ___________________________________________________________________ Added: svn:keywords + Id Author Modified: pecl/yaf/trunk/yaf_request.c =================================================================== --- pecl/yaf/trunk/yaf_request.c 2011-06-27 01:39:01 UTC (rev 312507) +++ pecl/yaf/trunk/yaf_request.c 2011-06-27 03:04:07 UTC (rev 312508) @@ -12,7 +12,7 @@ +----------------------------------------------------------------------+ | Author: Laruence | +----------------------------------------------------------------------+ - $Id: yaf_request.c 51 2011-05-13 10:06:11Z laruence $ + $Id$ */ #ifdef HAVE_CONFIG_H #include "config.h" Property changes on: pecl/yaf/trunk/yaf_request.c ___________________________________________________________________ Added: svn:keywords + Id Author Modified: pecl/yaf/trunk/yaf_request.h =================================================================== --- pecl/yaf/trunk/yaf_request.h 2011-06-27 01:39:01 UTC (rev 312507) +++ pecl/yaf/trunk/yaf_request.h 2011-06-27 03:04:07 UTC (rev 312508) @@ -12,7 +12,7 @@ +----------------------------------------------------------------------+ | Author: Laruence | +----------------------------------------------------------------------+ - $Id: yaf_request.h 53 2011-06-01 02:57:04Z laruence $ + $Id$ */ #ifndef YAF_REQUEST_H Property changes on: pecl/yaf/trunk/yaf_request.h ___________________________________________________________________ Added: svn:keywords + Id Author Modified: pecl/yaf/trunk/yaf_response.c =================================================================== --- pecl/yaf/trunk/yaf_response.c 2011-06-27 01:39:01 UTC (rev 312507) +++ pecl/yaf/trunk/yaf_response.c 2011-06-27 03:04:07 UTC (rev 312508) @@ -12,7 +12,7 @@ +----------------------------------------------------------------------+ | Author: Laruence | +----------------------------------------------------------------------+ - $Id: yaf_response.c 51 2011-05-13 10:06:11Z laruence $ + $Id$ */ #ifdef HAVE_CONFIG_H Property changes on: pecl/yaf/trunk/yaf_response.c ___________________________________________________________________ Added: svn:keywords + Id Author Modified: pecl/yaf/trunk/yaf_response.h =================================================================== --- pecl/yaf/trunk/yaf_response.h 2011-06-27 01:39:01 UTC (rev 312507) +++ pecl/yaf/trunk/yaf_response.h 2011-06-27 03:04:07 UTC (rev 312508) @@ -12,7 +12,7 @@ +----------------------------------------------------------------------+ | Author: Laruence | +----------------------------------------------------------------------+ - $Id: yaf_response.h 53 2011-06-01 02:57:04Z laruence $ + $Id$ */ #ifndef PHP_YAF_RESPONSE_H Property changes on: pecl/yaf/trunk/yaf_response.h ___________________________________________________________________ Added: svn:keywords + Id Author Modified: pecl/yaf/trunk/yaf_router.c =================================================================== --- pecl/yaf/trunk/yaf_router.c 2011-06-27 01:39:01 UTC (rev 312507) +++ pecl/yaf/trunk/yaf_router.c 2011-06-27 03:04:07 UTC (rev 312508) @@ -12,7 +12,7 @@ +----------------------------------------------------------------------+ | Author: Laruence | +----------------------------------------------------------------------+ - $Id: yaf_router.c 51 2011-05-13 10:06:11Z laruence $ + $Id$ */ #ifdef HAVE_CONFIG_H Property changes on: pecl/yaf/trunk/yaf_router.c ___________________________________________________________________ Added: svn:keywords + Id Author Modified: pecl/yaf/trunk/yaf_router.h =================================================================== --- pecl/yaf/trunk/yaf_router.h 2011-06-27 01:39:01 UTC (rev 312507) +++ pecl/yaf/trunk/yaf_router.h 2011-06-27 03:04:07 UTC (rev 312508) @@ -12,7 +12,7 @@ +----------------------------------------------------------------------+ | Author: Laruence | +----------------------------------------------------------------------+ - $Id: yaf_router.h 53 2011-06-01 02:57:04Z laruence $ + $Id$ */ #ifndef YAF_ROUTER_H Property changes on: pecl/yaf/trunk/yaf_router.h ___________________________________________________________________ Added: svn:keywords + Id Author Modified: pecl/yaf/trunk/yaf_session.c =================================================================== --- pecl/yaf/trunk/yaf_session.c 2011-06-27 01:39:01 UTC (rev 312507) +++ pecl/yaf/trunk/yaf_session.c 2011-06-27 03:04:07 UTC (rev 312508) @@ -13,7 +13,7 @@ | obtain it through the world-wide-web, please send a note to | | license@php.net so we can mail you a copy immediately. | +----------------------------------------------------------------------+ - $Id: yaf_session.c 51 2011-05-13 10:06:11Z laruence $ + $Id$ */ #ifdef HAVE_CONFIG_H Property changes on: pecl/yaf/trunk/yaf_session.c ___________________________________________________________________ Added: svn:keywords + Id Author Modified: pecl/yaf/trunk/yaf_session.h =================================================================== --- pecl/yaf/trunk/yaf_session.h 2011-06-27 01:39:01 UTC (rev 312507) +++ pecl/yaf/trunk/yaf_session.h 2011-06-27 03:04:07 UTC (rev 312508) @@ -12,7 +12,7 @@ +----------------------------------------------------------------------+ | Author: Laruence | +----------------------------------------------------------------------+ - $Id: yaf_session.h 53 2011-06-01 02:57:04Z laruence $ + $Id$ */ #ifndef YAF_SESSION_H Property changes on: pecl/yaf/trunk/yaf_session.h ___________________________________________________________________ Added: svn:keywords + Id Author Modified: pecl/yaf/trunk/yaf_view.c =================================================================== --- pecl/yaf/trunk/yaf_view.c 2011-06-27 01:39:01 UTC (rev 312507) +++ pecl/yaf/trunk/yaf_view.c 2011-06-27 03:04:07 UTC (rev 312508) @@ -12,7 +12,7 @@ +----------------------------------------------------------------------+ | Author: Laruence | +----------------------------------------------------------------------+ - $Id: yaf_view.c 51 2011-05-13 10:06:11Z laruence $ + $Id$ */ #ifdef HAVE_CONFIG_H Property changes on: pecl/yaf/trunk/yaf_view.c ___________________________________________________________________ Added: svn:keywords + Id Author Modified: pecl/yaf/trunk/yaf_view.h =================================================================== --- pecl/yaf/trunk/yaf_view.h 2011-06-27 01:39:01 UTC (rev 312507) +++ pecl/yaf/trunk/yaf_view.h 2011-06-27 03:04:07 UTC (rev 312508) @@ -12,7 +12,7 @@ +----------------------------------------------------------------------+ | Author: Laruence | +----------------------------------------------------------------------+ - $Id: yaf_view.h 53 2011-06-01 02:57:04Z laruence $ + $Id$ */ #ifndef YAF_VIEW_H Property changes on: pecl/yaf/trunk/yaf_view.h ___________________________________________________________________ Added: svn:keywords + Id Author