タグ

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

  • PHP: Memcached - Manual

    GOTCHA: Recently I was tasked with moving from PECL memcache to PECL memcached and ran into a major problem -- memcache and memcached serialize data differently, meaning that data written with one library can't necessarily be read with the other library. For example, If you write an object or an array with memcache, it's interpreted as an integer by memcached. If you write it with memcached, it's

    konaze
    konaze 2009/10/08
    PECL::memcachedのドキュメント。
  • 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
    konaze
    konaze 2009/03/27
    "使用可能メモリに制限を設けたくない場合は、 ここに -1" ローカルならこれで良いか
  • PHP: extends - Manual

    konaze
    konaze 2007/10/20
    "これは、実際には誰も亡くなっ ていませんが、'継承'と呼ばれます" この注意書きは必要なのかw
  • PHP: uniqid - 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

    konaze
    konaze 2006/02/01
    そ、そんなのあったんか…(;゚д゚)
  • 1