タグ

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

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

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

    rin1024
    rin1024 2011/07/28
  • PHP: コア php.ini ディレクティブに関する説明 - Manual

    以下に設定ディレクティブに関する 簡単な説明を示します。 short_open_tag bool PHP タグの短縮型 (<? ?>) を使用 可能にするかどうかを設定します。PHPをXMLと組み合わせて用いる 場合は、<?xml ?>をファイル中で用 いるためにこのオプションをオフにする必要があります。オンにし た場合にPHPでXMLを出力するには、例えば、次のようにします。 <?php echo '<?xml version="1.0"?>'; ?> これをオフにした場合、長い方の形式のタグ (<?php ?>)を使用する必要があります。 注意: これは、<?= 記法に影響を与えません。常に有効となります。 precision int 浮動小数点数に関して表示される最大桁数を指定します。 -1 は、数値を丸める際に拡張アルゴリズムを用いることを意味します。 serialize_prec

    PHP: コア php.ini ディレクティブに関する説明 - Manual
    rin1024
    rin1024 2011/05/19
    こんなオプションあったんだ
  • PHP: php:// - Manual

    Description PHP provides a number of miscellaneous I/O streams that allow access to PHP's own input and output streams, the standard input, output and error file descriptors, in-memory and disk-backed temporary file streams, and filters that can manipulate other file resources as they are read from and written to. php://stdin, php://stdout and php://stderr php://stdin, php://stdout and php://stder

    rin1024
    rin1024 2009/10/27
    "fopen("php://memory", "r+") ってやると php で std::stringstream みたいなことができる" via @amachang
  • PHP 5.4 beta2 released

    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 5.4 beta2 released
    rin1024
    rin1024 2009/10/26
    connami command
  • PHP: Ncurses 関数 - Manual

  • 1