It delay for a number of seconds and nanoseconds
Example
<?php
echo time_nanosleep(0, 500000000)?”Slefpt for half second”:”No”;
?>
Output
Slefpt for half second
It delay for a number of seconds and nanoseconds
Example
<?php
echo time_nanosleep(0, 500000000)?”Slefpt for half second”:”No”;
?>
Output
Slefpt for half second
It returns system load average
Example
<?php
echo “<pre>”;
print_r(sys_getloadavg());
?>
Output
Array
(
[0] => 0.1
[1] => 0.27
[2] => 0.37
)
It delays execution
Example
<?php
echo date(‘h:i:s’) . “<br />”;
sleep(10);
echo date(‘h:i:s’) . “<br />”;
?>
Output
05:38:00
05:38:10
Its an alias of highlight_file() and outputs a file with the PHP syntax highlighted
Example
<?php
echo show_source(“index.php”);
?>
It returns the source code of a file with PHP comments and whitespace removed
Example
<?php
echo php_strip_whitespace(“index.php”);
?>
please check the view source and it should be
<?php
echo php_strip_whitespace(“index.php”); ?>
It heck the PHP syntax of the specified file
Example
<?php
php_check_syntax(“index.php”);
?>
its deprecated in PHP 5.0.5
It packs data into a binary string
Example
<?php
echo pack(“C8”,80,72,80,67,79,68,69,83);
?>
Output
PHPCODES
It sets whether a remote client can abort the running of a script
Example
<?php
ignore_user_abort(true);
?>
It outputs a string with the PHP syntax highlighted
Example
<?php
highlight_string(“<?php echo ‘phpcode’ ?>”);
?>
It outputs a file with the PHP syntax highlighted
Example
<?php
highlight_file(“index.php”);
?>