タグ

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

  • PHP: list - 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: list - Manual
  • 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: サンプル - Manual
  • 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: トレイト - Manual

    トレイト PHP は、コードを再利用するための「トレイト」という仕組みを実装しています。 トレイトは、PHP のような単一継承言語でコードを再利用するための仕組みのひとつです。 トレイトは、単一継承の制約を減らすために作られたもので、 いくつかのメソッド群を異なるクラス階層にある独立したクラスで再利用できるようにします。 トレイトとクラスを組み合わせた構文は複雑さを軽減させてくれ、 多重継承や Mixin に関連するありがちな問題を回避することもできます。 トレイトはクラスと似ていますが、トレイトは単にいくつかの機能をまとめるためだけのものです。 トレイト自身のインスタンスを作成することはできません。 昔ながらの継承に機能を加えて、振る舞いを水平方向で構成できるようになります。 つまり、継承しなくてもクラスのメンバーに追加できるようになります。 <?php trait ezcReflect

    PHP: トレイト - Manual
  • PHP: FastCGI Process Manager (FPM) - Manual

    php-fpm is not avaliable on Windows, but you can use IIS or Apache as the "fastcgi process manager". If you have to use Nginx, here is a solution. Nginx provides a load balancing module. We can distribute the request to different php-cgi.exe process. <http://nginx.org/en/docs/http/load_balancing.html> <http://nginx.org/en/docs/http/ngx_http_upstream_module.html> This is the origin nginx conf. ```

    PHP: FastCGI Process Manager (FPM) - Manual
  • PHP: String 関数 - Manual

    参考 より強力な文字列処理および処理関数については、 Perl 互換正規表現関数 を参照ください。 マルチバイト文字のエンコーディングを扱うときは、 マルチバイト文字列関数. を参照ください。 目次addcslashes — C 言語と同様にスラッシュで文字列をクォートするaddslashes — 文字列をスラッシュでクォートするbin2hex — バイナリのデータを16進表現に変換するchop — rtrim のエイリアスchr — 数値から、1バイトの文字列を生成するchunk_split — 文字列をより小さな部分に分割するconvert_cyr_string — キリル文字セットを他のものに変換するconvert_uudecode — uuencode された文字列をデコードするconvert_uuencode — 文字列を uuencode するcount_chars — 文字列

    PHP: String 関数 - Manual
  • 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: ユーザー定義関数 - Manual
  • PHPを Unix システム上の Apache 2.0 にインストールする

    Apache 2.x (Unixシステム用) このセクションでは、PHPを Unix システム上の Apache 2.x にインストールする際の 手引きと注意事項について説明します。 警告 Apache2 の MPM マルチスレッドモードを実運用環境で使用することは推奨されません。 代わりに prefork MPM を使ってください。これは Apache 2.0 および 2.2 におけるデフォルトの MPM です。prefork MPM を使う理由については、 マルチスレッド版 MPM の Apache2の FAQ エントリを参照してください。 » Apache ドキュメンテーション を参照し、Apache 2.x の基的な事項について理解しておくことを強く推奨します。 Apache のインストールオプションについてのより詳しい情報が得られます。 最新バージョンの Apache HTTP

    PHPを Unix システム上の Apache 2.0 にインストールする
  • PHP: PHP 8.0.0 Release Announcement

    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: PHP 8.0.0 Release Announcement
  • PHP 5.4.43 Released - PHP: News Archive - 2015

    The PHP development team announces the immediate availability of PHP 7.0.1. Several bugs have been fixed. All PHP 7.0 users are encouraged to upgrade to this version. For source downloads of PHP 7.0.1 please visit our downloads page, Windows source and binaries can be found on windows.php.net/download/. The list of changes is recorded in the ChangeLog. The team at php[architect] is excited to anno

    PHP 5.4.43 Released - PHP: News Archive - 2015
  • PHP: ビルトインウェブサーバー - Manual

    警告 このウェブサーバーは、アプリケーション開発の支援用として設計されたものです。 テスト用に使ったり、制約のある環境でアプリケーションをデモするために使ったりすることもできるでしょう。 あらゆる機能を兼ね備えたウェブサーバーを目指したものではないので、 公開ネットワーク上で使ってはいけません。 CLI SAPI にはウェブサーバーの機能が組み込まれています。 このウェブサーバーは単一のシングルスレッドプロセスしか実行しないので、 リクエストがブロックされると、PHP アプリケーションはストールします。 URI リクエストの処理は、PHP を開始した時点の作業ディレクトリから行われます。 -t オプションを使えば、ドキュメントルートを明示的に指定することができます。 URI リクエストにファイルが含まれない場合は、指定したディレクトリにある index.php あるいは index.htm

    PHP: ビルトインウェブサーバー - Manual
  • PHP: Documentation

    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: Documentation
  • PHP

    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
  • PHP: PHP とはなんでしょう? - Manual

    <!DOCTYPE html> <html> <head> <title>Example</title> </head> <body> <?php echo "Hi, I'm a PHP script!"; ?> </body> </html> HTMLを出力するために多くのコマンドを記述する (C や Perl のように) 代わりに、PHP のページは "何か" (この例では、"Hi, I'm a PHP script!" と出力) を行うコードを HTML に埋め込むことになります。 PHP のコードは特別な 開始および終了の処理命令 <?php と ?> で囲まれており、これによって "PHP モード" の切り替えを行います。 PHP がクライアントサイド JavaScript のようなものと異なっている点は、 コードがサーバーで実行され、その結果がクライアントに送信されるということ

    PHP: PHP とはなんでしょう? - Manual
  • PHP: SQLite 関数 - Manual

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

  • PHP: date - 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: date - Manual
  • PHP: echo - Manual

    <?php echo "echo does not require parentheses."; // 文字列は、複数の引数として個別に渡すこともできますし、 // 連結し、ひとつの引数として渡すこともできます。 echo 'This ', 'string ', 'was ', 'made ', 'with multiple parameters.', "\n"; echo 'This ' . 'string ' . 'was ' . 'made ' . 'with concatenation.' . "\n"; // 改行やスペースが付加されることはありません; 以下は、"helloworld" を一行で出力します。 echo "hello"; echo "world"; // 上と同じです。 echo "hello", "world"; echo "This string spans

    PHP: echo - Manual
  • PHP: PHP を手に入れるには - Manual

    PHPはどこで手に入れることができますか? PHPネットワークのどのメンバーのサイトからでもダウンロードすることができ ます。これらは» https://www.php.net/ から見つけることができます。また匿名 Gitを使って最新のソースコードを手に入れることもできます。詳しい情報は、 » https://www.php.net/git.php を参照ください。 コンパイル済みのバージョンはありますか? 私たちはWindows版のみコンパイル済みのバイナリを配布しています。というの もPHPをすべてのLinux/Unixのプラットホーム用にすべての拡張モジュールの組 み合わせでコンパイルするのは不可能だからです。ただ、最近の多くのLinuxディ ストリビューションには予めPHPがインストールされています。Windows用のバイ ナリは» ダウンロードページ からダウンロードすることが

    PHP: PHP を手に入れるには - Manual
  • PHP: 論理演算子 - Manual

    <?php // -------------------- // foo() は決してコールされることはありません。これらの演算子は短絡評価を行うからです。 $a = (false && foo()); $b = (true || foo()); $c = (false and foo()); $d = (true or foo()); // -------------------- // "||" の優先順位は "or" より高くなります // $e に代入されるのは、(false || true) の評価結果です // これは、次の式と同様です: ($e = (false || true)) $e = false || true; // $f に false を代入してから "or" 演算子を評価します // これは、次の式と同様です: (($f = false) or true) $

  • PHP: Download documentation

    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: Download documentation