original_string: public static function encodePhpBinary( array $data ) {
  		$ret = '';
  		foreach ( $data as $key => $value ) {
  			if ( strcmp( $key, intval( $key ) ) === 0 ) {
  				self::$logger->warning( "Ignoring unsupported integer key \"$key\"" );
  				continue;
  			}
  			$l = strlen( $key );
  			if ( $l > 127 ) {
  				self::$logger->warning( "Ignoring overlong key \"$key\"" );
  				continue;
  			}
  			$v = self::serializeValue( $value );
  			if ( $v === null ) {
  				return null;
  			}
  			$ret .= chr( $l ) . $key . $v;
  		}
  		return $ret;
  	}
code: public static function encodePhpBinary( array $data ) {
  		$ret = '';
  		foreach ( $data as $key => $value ) {
  			if ( strcmp( $key, intval( $key ) ) === 0 ) {
  				self::$logger->warning( "Ignoring unsupported integer key \"$key\"" );
  				continue;
  			}
  			$l = strlen( $key );
  			if ( $l > 127 ) {
  				self::$logger->warning( "Ignoring overlong key \"$key\"" );
  				continue;
  			}
  			$v = self::serializeValue( $value );
  			if ( $v === null ) {
  				return null;
  			}
  			$ret .= chr( $l ) . $key . $v;
  		}
  		return $ret;
  	}
code_tokens: public static function encodePhpBinary ( array $ data ) { $ ret = '' ; foreach ( $ data as $ key => $ value ) { if ( strcmp ( $ key , intval ( $ key ) ) === 0 ) { self :: $ logger -> warning ( "Ignoring unsupported integer key \"$key\"" ) ; continue ; } $ l = strlen ( $ key ) ; if ( $ l > 127 ) { self :: $ logger -> warning ( "Ignoring overlong key \"$key\"" ) ; continue ; } $ v = self :: serializeValue ( $ value ) ; if ( $ v === null ) { return null ; } $ ret .= chr ( $ l ) . $ key . $ v ; } return $ ret ; }
docstring: Encode a session array to a string in 'php_binary' format
  @note Generally you'll use self::encode() instead of this method.
  @param array $data Session data
  @return string|null Encoded string, or null on failure
docstring_tokens: Encode a session array to a string in php_binary format