<?php
echo 'Current PHP version: ' . phpversion();
try {
$num=1;
echo $num;
if($num) {
throw new Exception("This is an exception");
}
} catch(Throwable $e) {
echo $e->getFile();
}
?>
echo 'Current PHP version: ' . phpversion();
try {
$num=1;
echo $num;
if($num) {
throw new Exception("This is an exception");
}
} catch(Throwable $e) {
echo $e->getFile();
}
?>
No comments:
Post a Comment