2 Test fprintf() function (errors)
6 /* Testing Error Conditions */
7 echo "*** Testing Error Conditions ***\n";
11 var_dump( fprintf() );
12 } catch (TypeError $e) {
13 echo $e->getMessage(), "\n";
18 var_dump( fprintf(3) );
19 } catch (TypeError $e) {
20 echo $e->getMessage(), "\n";
25 var_dump( fprintf(NULL) );
26 } catch (TypeError $e) {
27 echo $e->getMessage(), "\n";
33 *** Testing Error Conditions ***
34 Wrong parameter count for fprintf()
35 Wrong parameter count for fprintf()
36 Wrong parameter count for fprintf()