"strings"的翻译 使用英语:


  字典 中国人-英语

  例子 (外部来源,未经审查)

Strings
Next
Dealing with URL strings encoding, decoding and parsing.
Dealing with URL strings encoding, decoding and parsing.
Returns all values of the attribute as an array of strings.
Returns all values of the attribute as an array of strings.
Returns a hash of strings with information about the system. The indices of the hash are
Linux)
Currently strings are still returned with extra quotes, this will be corrected in a later release.
Currently strings are still returned with extra quotes, this will be corrected in a later release.
Returns a hash of strings with information about the current process CPU usage. The indices of the hash are
The indices of the hash are
For arbitrary precision mathematics PHP offers the Binary Calculator which supports numbers of any size and precision, represented as strings.
For arbitrary precision mathematics PHP offers the Binary Calculator which supports numbers of any size and precision, represented as strings.
These functions all manipulate strings in various ways. Some more specialized sections can be found in the regular expression and URL handling sections.
Some more specialized sections can be found in the regular expression and URL handling sections.
There is no typed data all values in the SWF action machine are stored as strings. The following functions can be used in expressions
The following functions can be used in expressions
attributeSelector Any array of strings, each containing a name of an attribute. This is used if you retrieve the object record and want to include certain attributes.
attributeSelector Any array of strings, each containing a name of an attribute.
Adds a zval container to the object. This is useful if you have to add properties which aren't simple types like integers or strings but arrays or other objects.
This is useful if you have to add properties which aren 't simple types like integers or strings but arrays or other objects.
In its simplest form the function will take only the two strings as parameter and will calculate just the number of insert, replace and delete operations needed to transform str1 into str2.
In its simplest form the function will take only the two strings as parameter and will calculate just the number of insert, replace and delete operations needed to transform str1 into str2.
Although lookbehind assertions must match fixed length strings, each alternative branch of a lookbehind assertion can match a different length of string. Perl 5.005 requires them all to have the same length.
The power of regular expressions comes from the ability to include alternatives and repetitions in the pat tern.
This modifier turns on additional functionality of PCRE that is incompatible with Perl. Pattern strings are treated as UTF 8. This modifier is available from PHP 4.1.0 or greater on Unix and from PHP 4.2.3 on win32.
This modifier is available from PHP 4.1.0 or greater on Unix and from PHP 4.2.3 on win32.
Forces conversion to a double, the default floating point type. NULL values, Booleans, resources, longs, and of course doubles remain untouched. Strings containing a number are converted to their corresponding numeric representation, otherwise resulting in 0.0. Arrays and objects are converted to 0.0 if empty, 1.0 otherwise.
Strings containing a number are converted to their corresponding numeric representation, otherwise resulting in 0.0.
Returns an array of strings, each of which is a substring of string formed by splitting it on boundaries formed by the string separator. If limit is set, the returned array will contain a maximum of limit elements with the last element containing the rest of string.
If limit is set, the returned array will contain a maximum of limit elements with the last element containing the rest of string.
Forces conversion to a long, the default integer type. NULL values, Booleans, resources, and of course longs remain untouched. Doubles are truncated. Strings containing an integer are converted to their corresponding numeric representation, otherwise resulting in 0. Arrays and objects are converted to 0 if empty, 1 otherwise.
Arrays and objects are converted to 0 if empty, 1 otherwise.
Compatability mode with old versions of PHP 3.0. If on, this will cause PHP to automatically assign types to results according to their Sybase type, instead of treating them all as strings. This compatability mode will probably not stay around forever, so try applying whatever necessary changes to your code, and turn it off.
This compatability mode will probably not stay around forever, so try applying whatever necessary changes to your code, and turn it off.
In the tradition of PHP, arrays and hashtables may pretty much be used interchangably. Note that hashtables in PHP may only be indexed by integers or strings and that arrays of primitive types in Java can not be sparse. Also note that these constructs are passed by value, so may be expensive in terms of memory and time.
The primary advanatage of this from a PHP perspective is that web servers which support servlets typically take great care in pooling and reusing JVMs.
This function allows sending of emails with correct handling of Cc and Bcc receivers. The parameters to, cc and bcc are all strings and are all parsed as rfc822 address lists. The receivers specified in bcc will get the mail, but are excluded from the headers. Use the rpath parameter to specify return path. This is useful when using php as a mail client for multiple users.
This is useful when using php as a mail client for multiple users.