タグ

ブックマーク / www.php.net (3)

  • PHP: 配列 関数 - Manual

    Be careful with type hints in callbacks when using array-traverse functions. In some cases, this may silently cause the data type of elements to change. <?php declare(strict_types=1); // Missing fatal TypeError, No side effects $unexpected = array_filter(['123', (string) PHP_INT_MAX], fn (int $item) => true); var_dump($unexpected); // Missing fatal TypeError, Typecasting side effect $unexpectedTyp

    OfficeRiverHead
    OfficeRiverHead 2016/06/21
    2016.06.21 ランキングをみる dribbbleのぬるぬる動くメニューUIのアイデア10選 | UX MILK uxmilk.jp 世界中の無料素材サイトが「横断」検索できるサービス厳選6つ【ブロガー&amp;Webデザイナー保存版】 - Life is colourful. lifeiscolourful.hatena
  • PHP: 言語リファレンス - Manual

    Getting Started Introduction A simple tutorial Language Reference Basic syntax Types Variables Constants Expressions Operators Control Structures Functions Classes and Objects Namespaces Enumerations Errors Exceptions Fibers Generators Attributes References Explained Predefined Variables Predefined Exceptions Predefined Interfaces and Classes Predefined Attributes Context options and parameters Su

  • PHP: serialize - Manual

    パラメータ value シリアル化する値。 serialize() は、resource および一部の object 以外のすべての型を処理します。(下記の注を参照ください) 自分自身への参照を含む配列を serialize() することも可能です。 シリアル化した配列/オブジェクト内の 循環参照も保存されます。その他の参照は失われます。 PHP は、シリアル化の前にまずメンバ関数 __serialize() または __sleep() のコールを試みます。ここで、シリアル化の前のオブジェクトの後始末処理 などを行います。同様に、unserialize() で オブジェクトを復元した際にはメンバ関数 __unserialize() または __wakeup() がコールされます。 注意: オブジェクトの private メンバは、メンバ名の前にクラス名がつきます。 また protected

  • 1