svn: /phpdoc/en/trunk/reference/funchand/functions/ forward-static-call-array.xml forward-static-call.xml register-shutdown-function.xml

From: Date: Wed, 03 Feb 2010 13:29:30 +0000
Subject: svn: /phpdoc/en/trunk/reference/funchand/functions/ forward-static-call-array.xml forward-static-call.xml register-shutdown-function.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-5985@lists.php.net to get a copy of this message
rquadling Wed, 03 Feb 2010 13:29:30 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=294385 Log: W/S tabs Changed paths: U phpdoc/en/trunk/reference/funchand/functions/forward-static-call-array.xml U phpdoc/en/trunk/reference/funchand/functions/forward-static-call.xml U phpdoc/en/trunk/reference/funchand/functions/register-shutdown-function.xml Modified: phpdoc/en/trunk/reference/funchand/functions/forward-static-call-array.xml =================================================================== --- phpdoc/en/trunk/reference/funchand/functions/forward-static-call-array.xml 2010-02-03 13:27:32 UTC (rev 294384) +++ phpdoc/en/trunk/reference/funchand/functions/forward-static-call-array.xml 2010-02-03 13:29:30 UTC (rev 294385) @@ -71,30 +71,30 @@ class A { - const NAME = 'A'; - public static function test() { - $args = func_get_args(); - echo static::NAME, " ".join(',', $args)." \n"; - } + const NAME = 'A'; + public static function test() { + $args = func_get_args(); + echo static::NAME, " ".join(',', $args)." \n"; + } } class B extends A { - const NAME = 'B'; + const NAME = 'B'; - public static function test() { - echo self::NAME, "\n"; - forward_static_call_array(array('A', 'test'), array('more', 'args')); - forward_static_call_array( 'test', array('other', 'args')); - } + public static function test() { + echo self::NAME, "\n"; + forward_static_call_array(array('A', 'test'), array('more', 'args')); + forward_static_call_array( 'test', array('other', 'args')); + } } B::test('foo'); function test() { - $args = func_get_args(); - echo "C ".join(',', $args)." \n"; - } + $args = func_get_args(); + echo "C ".join(',', $args)." \n"; + } ?> ]]> Modified: phpdoc/en/trunk/reference/funchand/functions/forward-static-call.xml =================================================================== --- phpdoc/en/trunk/reference/funchand/functions/forward-static-call.xml 2010-02-03 13:27:32 UTC (rev 294384) +++ phpdoc/en/trunk/reference/funchand/functions/forward-static-call.xml 2010-02-03 13:29:30 UTC (rev 294385) @@ -65,30 +65,30 @@ class A { - const NAME = 'A'; - public static function test() { - $args = func_get_args(); - echo static::NAME, " ".join(',', $args)." \n"; - } + const NAME = 'A'; + public static function test() { + $args = func_get_args(); + echo static::NAME, " ".join(',', $args)." \n"; + } } class B extends A { - const NAME = 'B'; + const NAME = 'B'; - public static function test() { - echo self::NAME, "\n"; - forward_static_call(array('A', 'test'), 'more', 'args'); - forward_static_call( 'test', 'other', 'args'); - } + public static function test() { + echo self::NAME, "\n"; + forward_static_call(array('A', 'test'), 'more', 'args'); + forward_static_call( 'test', 'other', 'args'); + } } B::test('foo'); function test() { - $args = func_get_args(); - echo "C ".join(',', $args)." \n"; - } + $args = func_get_args(); + echo "C ".join(',', $args)." \n"; + } ?> ]]> Modified: phpdoc/en/trunk/reference/funchand/functions/register-shutdown-function.xml =================================================================== --- phpdoc/en/trunk/reference/funchand/functions/register-shutdown-function.xml 2010-02-03 13:27:32 UTC (rev 294384) +++ phpdoc/en/trunk/reference/funchand/functions/register-shutdown-function.xml 2010-02-03 13:29:30 UTC (rev 294385) @@ -120,11 +120,11 @@ <?php function shutdown() { - // This is our shutdown function, in - // here we can do any last operations - // before the script is complete. + // This is our shutdown function, in + // here we can do any last operations + // before the script is complete. - echo 'Script executed with success', PHP_EOL; + echo 'Script executed with success', PHP_EOL; } register_shutdown_function('shutdown');

« previous php.doc.cvs (#5985) next »