2
Test function proc_nice() by substituting argument 1 with int values.
4
Italian PHP TestFest 2009 Cesena 19-20-21 june
5
Fabio Fabbrucci (fabbrucci@grupporetina.com)
6
Michele Orselli (mo@ideato.it)
7
Simone Gentili (sensorario@gmail.com)
12
echo "*** Test substituting argument 1 with int values ***\n";
16
$variation_array = array (
20
'int -12345' => -2345,
24
foreach ( $variation_array as $var ) {
25
var_dump(proc_nice( $var ) );
29
*** Test substituting argument 1 with int values ***
34
Warning: proc_nice(): Only a super user may attempt to increase the priority of a process in %s on line %d