From: njd- Date: Tue, 29 Jul 2003 11:34:28 +0000 (+0000) Subject: completed descriptions for all functions starting with b X-Git-Url: http://secure.phpeclipse.com completed descriptions for all functions starting with b --- diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/phpsyntax.xml b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/phpsyntax.xml index 175249e..28d927f 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/phpsyntax.xml +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/phpsyntax.xml @@ -88,24 +88,36 @@ about the given resource and returns this information in a class. Get the modulus of the left_operand using modulus. Multiply the left_operand by the right_operand and returns the result. The optional scale sets the number of digits after the decimal place in the result. Raise x to the power y. The optional scale can be used to set the number of digits after the decimal place in the result. - - - - - - - - - - - - - - - - - - + This function sets the default scale parameter for all subsequent bc math functions that do not explicitly specify a scale parameter. + Return the square root of the operand. The optional scale parameter sets the number of digits after the decimal place in the result. + Subtracts the right_operand from the left_operand and returns the result in a string. The optional scale parameter is used to set the number of digits after the decimal place in the result. + Returns an ASCII string containing the hexadecimal representation of str. The conversion is done byte-wise with the high-nibble first. + +Returns the decimal equivalent of the binary number represented by the binary_string argument. + +bindec() converts a binary number to an integer. The largest number that can be converted is 31 bits of 1's or 2147483647 in decimal. + The bindtextdomain() function sets the path for a domain. + Closes the bzip2 file referenced by the pointer bz. + +bzcompress() compresses the source string and returns it as bzip2 encoded data. + +The optional parameter blocksize specifies the blocksize used during compression and should be a number from 1 to 9 with 9 giving the best compression, but using more resources to do so. blocksize defaults to 4. + +The optional parameter workfactor controls how the compression phase behaves when presented with worst case, highly repetitive, input data. The value can be between 0 and 250 with 0 being a special case and 30 being the default value. Regardless of the workfactor, the generated output is the same. + bzdecompress() decompresses the source string containing bzip2 encoded data and returns it. If the optional parameter small is TRUE , an alternative decompression algorithm will be used which uses less memory (the maximum memory requirement drops to around 2300K) but works at roughly half the speed. + Returns the error number of any bzip2 error returned by the file pointer bz. + Returns the error number and error string, in an associative array, of any bzip2 error returned by the file pointer bz. + Returns the error string of any bzip2 error returned by the file pointer bz. + +Forces a write of all buffered bzip2 data for the file pointer bz. + +Returns TRUE on success or FALSE on failure. + +Opens a bzip2 (.bz2) file for reading or writing. filename is the name of the file to open. mode is similar to the fopen() function (`r' for read, `w' for write, etc.). + +If the open fails, the function returns FALSE, otherwise it returns a pointer to the newly opened file. + bzread() reads up to length bytes from the bzip2 file pointer referenced by bz. Reading stops when length (uncompressed) bytes have been read or EOF is reached, whichever comes first. If the optional parameter length is not specified, bzread() will read 1024 (uncompressed) bytes at a time. + bzwrite() writes the contents of the string data to the bzip2 file stream pointed to by bz. If the optional length argument is given, writing will stop after length (uncompressed) bytes have been written or the end of string is reached, whichever comes first.