PHPマニュアル/PEARマニュアル | ユーザフォーラムで議論/質問 | マニュアル検索 | ハイライト | ハイライトオフ | ポータル | php spot

uopz_get_return - Gets a previous set return value for a function | JavaScript入門&応用&リファレンスなら「JavaScriptist」

  

uopz_get_return

(PECL uopz 5)

uopz_get_returnGets a previous set return value for a function

説明

mixed uopz_get_return ( string $class , string $function )
mixed uopz_get_return ( string $function , mixed $value )

Gets the return value of the function previously set by uopz_set_return().

パラメータ

class

The name of the class containing the function

function

The name of the function

返り値

The return value or Closure previously set.

例1 uopz_get_return() example

<?php
uopz_set_return
("strlen"42);
echo 
uopz_get_return("strlen");
?>

上の例の出力は、 たとえば以下のようになります。

42

忘却曲線を使ってこの関数を確実に記憶に残す

フォーラムで「uopz_get_return - Gets a previous set return value for a function」について話す
各種マニュアル: PHPマニュアル | PEARマニュアル | Smarty(英語)マニュアル | PHP-GTKマニュアル | uopz_get_return - Gets a previous set return value for a function」をGoogle検索
copyright © 1997-2024 PHP ドキュメント作成グループ(ライセンス). provided by php spot. マニュアル: