admin

admin

How to find minimum value of an array using PHP

First create an array with some numeric value. Now create a temporary variable $temp in which stored array’s first index’s value i.e 100 and follow below example. You may also like How to find minimum value in array using JavaScript.…

How hebrevc Function work in PHP

The hebrevc() function converts Hebrew text from a right-to-left flow to a left-to-right flow. It also converts new lines (\n) into. Tip: hebrevc() and hebrev() can convert Hebrew logical text (the Windows encoding) to Hebrew visual text. Hebrew visual requires…

PHP hebrev() Function

The hebrev() function converts Hebrew text from a right-to-left flow to a left-to-right flow. Tip: hebrev() and hebrevc() can convert Hebrew logical text (the Windows encoding) to Hebrew visual text. Hebrew visual requires no special right-to-left character support to be…

PHP get_html_translation_table() Function

The get_html_translation_table() function returns the translation table used by the htmlentities() and htmlspecialchars() functions. Tip: Some characters can be encoded several ways. The get_html_translation_table() function returns the most common encoding. You may also like How to Dynamic PHP and html…

PHP fprintf() Function

The fprintf() function writes a formatted string to a specified stream resource. Returns a formatted string formatting, using the inputs to dynamically input their values into the formatted string using a preset set of rules, specified below. You may also…

PHP echo() Function

The echo() function outputs one or more strings. Note: The echo() function is not actually a function, so you are not required to use parentheses with it. However, if you want to pass more than one parameter to echo(), using…

PHP crypt() Function

The crypt() function returns a hashed string using DES, Blowfish, or MD5 algorithms. This function behaves different on different operating systems. PHP checks what algorithms are available and what algorithms to use when it is installed. Syntax crypt(str,salt)

PHP crc32() Function

The crc32() function generates a 32-bit cyclic redundancy code (CRC) for a string. The function is generally used to validate the integrity of data being transmitted. Example <?php $str = crc32(“Hello World!”); printf(“%u\n”,$str); ?> Output 472456355

PHP count_chars() Function

The count_chars() is an inbuilt function in PHP and is used to perform several operations related to string like the number of an ASCII character occurs in a string. Example <?php $str = “Hello World!”; echo count_chars($str,3); ?> Output !HWdelor

PHP convert_uuencode() Function

The convert_uuencode() function encodes a string using the uuencode algorithm. Note: Uuencoded data is about 35% larger than the original. Example <?php $str = “Hello world!”; echo convert_uuencode($str); ?> Output ,2&5L;&\@=V]R;&0A `