Results of 111 - 120 of about 1231 for function (0.021 sec.)
- JSON にシリアライズしたいデータを指定する 3647
- « JsonSerializable JSON 関数 » PHP Manual JsonSerializable JSON にシリアライズしたいデータを指定
...
ss ArrayValue implements JsonSerializable { public function __construct (array $array ) { $this -> array = $ar ...
ray ; } public function jsonSerialize () { return $this -> array ; } } $ar ...
ss ArrayValue implements JsonSerializable { public function __construct (array $array ) { $this -> array = $ar ...
ray ; } public function jsonSerialize () { return $this -> array ; } } $ar ...
-
https://man.plustar.jp/php/jsonserializable.jsonserialize.html
- [similar]
- クラスのインスタンス化が可能であるかどうかを調べる 3647
- « ReflectionClass::isInstance ReflectionClass::isInterface » PHP Manual ReflectionClass クラスの
...
ntiable() の例 <?php class C { } interface iface { function f1 (); } class ifaceImpl implements iface { functi ...
on f1 () {} } abstract class abstractClass { function f1 () { } abstract function f2 (); } class D exten ...
ds abstractClass { function f2 () { } } trait T { function f1 () {} } class pr ...
ivateConstructor { private function __construct () { } } $classes = array( "C" , "ifac ...
-
https://man.plustar.jp/php/reflectionclass.isinstantiable.html
- [similar]
- ジェネレータと Iterator オブジェクトとの比較 3630
- « ジェネレータの構文 アトリビュート » PHP Manual ジェネレータ ジェネレータと Iterator オブジェク
...
ょう。これらはどちらも同じ働きをするものです。 <?php function getLinesFromFile ( $fileName ) { if (! $fileHandle ...
leHandle ; protected $line ; protected $i ; public function __construct ( $fileName ) { if (! $this -> fileHan ...
dn\'t open file "' . $fileName . '"' ); } } public function rewind () { fseek ( $this -> fileHandle , 0 ); $th ...
( $this -> fileHandle ); $this -> i = 0 ; } public function valid () { return false !== $this -> line ; } publ ...
-
https://man.plustar.jp/php/language.generators.comparison.html
- [similar]
- Updates all values by applying a callback function to each value 3612
- « Ds\Map::allocate Ds\Map::capacity » PHP Manual Map Updates all values by applying a callback function
...
:apply — Updates all values by applying a callback function to each value 説明 public Ds\Map::apply ( callable ...
): void Updates all values by applying a callback function to each value in the map. パラメータ callback call ...
"a" => 1 , "b" => 2 , "c" => 3 ]); $map -> apply (function( $key , $value ) { return $value * 2 ; }); print_r ...
s , Map , callback , apply , Object , key , each , function , Pair , applying ...
-
https://man.plustar.jp/php/ds-map.apply.html
- [similar]
- Reduces the map to a single value using a callback function 3612
- « Ds\Map::putAll Ds\Map::remove » PHP Manual Map Reduces the map to a single value using a callb
...
ack function Ds\Map::reduce (PECL ds >= 1.0.0) Ds\Map::reduce — ...
Reduces the map to a single value using a callback function 説明 public Ds\Map::reduce ( callable $callback , ...
Reduces the map to a single value using a callback function. パラメータ callback callback ( mixed $carry , mix ...
([ "a" => 1 , "b" => 2 , "c" => 3 ]); $callback = function( $carry , $key , $value ) { return $carry * $value ...
-
https://man.plustar.jp/php/ds-map.reduce.html
- [similar]
- Selects the group heads by the max value of a numeric field or function query 3612
- « SolrCollapseFunction::setHint SolrCollapseFunction::setMin » PHP Manual SolrCollapseFunction S
...
group heads by the max value of a numeric field or function query SolrCollapseFunction::setMax (PECL solr >= 2 ...
.2.0) SolrCollapseFunction::setMax — Selects the group heads by the max value ...
of a numeric field or function query 説明 public SolrCollapseFunction::setMax ( s ...
tring $max ): SolrCollapseFunction Selects the group heads by the max value of a nume ...
-
https://man.plustar.jp/php/solrcollapsefunction.setmax.html
- [similar]
- 定義済み定数 3612
- « リソース型 Uopz 関数 » PHP Manual uopz 定義済み定数 定義済み定数 以下の定数が定義されています。
...
ODE_RETURN ( int ) Exit from executor (return from function) The following modifiers are registered as constan ...
ts by uopz ZEND_ACC_PUBLIC ( int ) Mark function as public, the default ZEND_ACC_PROTECTED ( int ) ...
Mark function as protected ZEND_ACC_PRIVATE ( int ) Mark functio ...
n as private ZEND_ACC_STATIC ( int ) Mark function as static ZEND_ACC_FINAL ( int ) Mark function as ...
-
https://man.plustar.jp/php/uopz.constants.html
- [similar]
- Creates new connection listener associated with an event base 3595
- « EventListener EventListener::disable » PHP Manual EventListener Creates new connection listene
...
y time; see documentation for your system's listen function for more details. If backlog is negative, Libevent ...
ListenerConnection { private $bev , $base ; public function __destruct () { $this -> bev -> free (); } public ...
cho "Failed to enable READ\n" ; return; } } public function echoReadCallback ( $bev , $ctx ) { // Copy all the ...
tOutput(); $output->addBuffer($input); */ } public function echoEventCallback ( $bev , $events , $ctx ) { if ( ...
-
https://man.plustar.jp/php/eventlistener.construct.html
- [similar]
- Get last error message for the most recent function call 3595
- « cubrid_error_code cubrid_execute » PHP Manual CUBRID 関数 Get last error message for the most
...
recent function call cubrid_error_msg (PECL CUBRID >= 8.3.0) cubri ...
r_msg — Get last error message for the most recent function call 説明 cubrid_error_msg (): string The cubrid_e ...
rror_msg() function is used to get the error message that occurred dur ...
_error_code() - Get error code for the most recent function call cubrid_error_code_facility() - Get the facili ...
-
https://man.plustar.jp/php/function.cubrid-error-msg.html
- [similar]
- Copies a method from class to another 3578
- « runkit7_method_add runkit7_method_redefine » PHP Manual runkit7 関数 Copies a method from clas
...
例1 runkit7_method_copy() example <?php class Foo { function example () { return "foo!\n" ; } } class Bar { // ...
r' , 'baz' , 'Foo' , 'example' ); // output copied function echo Bar :: baz (); ?> 上の例の出力は以下となります ...
cally changes the name of the given method runkit7_function_copy() - Copy a function to a new function name 関 ...
Copies , copy , a , Dynamically , string , given , function , redefine ...
-
https://man.plustar.jp/php/function.runkit7-method-copy.html
- [similar]