blob: 0fffff744ddbab04cafce502b0a40d110fb0259a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
<?php
/*
* exception.cpp
* @author Jasper van Eck<jasper.vaneck@copernica.com>
*
* An example file to show the working of a function which throws an exception.
*
* Exceptions haven't been implemented yet.
* Therefore this example is not yet a working one.
*/
/*
* Run a function which throws an exception.
*/
echo "Function which throws an exception; my_throw_exception_function()\n"
echo my_throw_exception_function() . "\n";
|