cvs: presentations / toolbox.xml /slides/toolbox autoload-exception-problem.xml e_recoverable.xml
| From: | Derick Rethans | Date: | Thu, 15 Sep 2005 11:42:31 +0000 |
| Subject: | cvs: presentations / toolbox.xml /slides/toolbox autoload-exception-problem.xml e_recoverable.xml | ||
| Groups: | php.pres | ||
| Request: | Send a blank email to pres+get-1189@lists.php.net to get a copy of this message | ||
derick Thu Sep 15 07:42:31 2005 EDT
Added files:
/presentations/slides/toolbox autoload-exception-problem.xml
e_recoverable.xml
Modified files:
/presentations toolbox.xml
Log:
- Add two more slides.
http://cvs.php.net/diff.php/presentations/toolbox.xml?r1=1.1&r2=1.2&ty=u
Index: presentations/toolbox.xml
diff -u presentations/toolbox.xml:1.1 presentations/toolbox.xml:1.2
--- presentations/toolbox.xml:1.1 Wed Sep 14 12:39:05 2005
+++ presentations/toolbox.xml Thu Sep 15 07:42:31 2005
@@ -48,6 +48,7 @@
<!-- AUTOLOAD -->
<slide>slides/toolbox/autoload.xml</slide>
<slide>slides/toolbox/autoload-arrays.xml</slide>
+<slide>slides/toolbox/autoload-exception-problem.xml</slide>
<!-- DOCUMENTATION -->
<slide>slides/toolbox/documentation.xml</slide>
@@ -63,6 +64,9 @@
<slide>slides/toolbox/versioning.xml</slide>
<slide>slides/toolbox/versioning-example.xml</slide>
+<!-- E_RECOVERABLE_ERROR -->
+<slide>slides/toolbox/e_recoverable.xml</slide>
+
<!-- ========================= -->
<!-- INPUT FILTER -->
@@ -101,8 +105,6 @@
<slide>slides/time/timezone-utilities-1.xml</slide>
<slide>slides/time/timezone-utilities-2.xml</slide>
-<!-- DBSCHEMA -->
-
</presentation>
http://cvs.php.net/co.php/presentations/slides/toolbox/autoload-exception-problem.xml?r=1.1&p=1
Index: presentations/slides/toolbox/autoload-exception-problem.xml
+++ presentations/slides/toolbox/autoload-exception-problem.xml
<?xml version="1.0" encoding="utf8"?>
<slide fontsize="6em">
<title>Autoload and Exceptions</title>
<example><![CDATA[<?php
try
{
}
catch( ezcA $e )
{
}
?>]]></example>
<break lines="2"/>
<blurb>
This would always call the __autoload() function to load the exception
class, even if it's not needed.
</blurb>
</slide>
http://cvs.php.net/co.php/presentations/slides/toolbox/e_recoverable.xml?r=1.1&p=1
Index: presentations/slides/toolbox/e_recoverable.xml
+++ presentations/slides/toolbox/e_recoverable.xml
<?xml version="1.0" encoding="utf8"?>
<slide fontsize="6em">
<title>E_RECOVERABLE_ERROR</title>
<subtitle>Between E_ERROR and E_WARNING</subtitle>
<example><![CDATA[<?php
class Foo {
}
function blah (Foo $a)
{
}
function error()
{
$a = func_get_args();
var_dump($a);
}
set_error_handler('error');
blah (new StdClass);
echo "ALIVE!\n";
?>
]]></example>
<list>
<bullet>Used if there is a fatal error which doesn't leave the engine in an unstable
state.</bullet>
<bullet>If not handled in a user defined error handler -> E_FATAL.</bullet>
</list>
</slide>