3 /* Prototype : string convert_uuencode ( string $data )
4 * Description: Uuencode a string
5 * Source code: ext/standard/uuencode.c
8 echo "*** Testing convert_uuencode() function: with unexpected inputs for 'data' argument ***\n";
10 //get an unset variable
11 $unset_var = 'string_val';
16 public function __toString() {
17 return "sample object";
21 //getting the resource
22 $file_handle = fopen(__FILE__
, "r");
24 // array with different values for $data
62 /*21*/ @$undefined_var,
68 // loop through with each element of the $data array to test convert_uuencode() function
70 foreach($inputs as $input) {
71 echo "-- Iteration $count --\n";
72 var_dump( bin2hex(convert_uuencode($input)) );
76 fclose($file_handle); //closing the file handle