From 7f77e6f4f20c6369426b47cf83d950d2875c2ea8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Kr=C3=BCger?= Date: Thu, 26 May 2011 09:02:36 +0200 Subject: [PATCH] Suppress non-critical PHP errors The previous code contained various pieces that PHP usually executes without complaints, but on some PHP installations it emits warnings. This adds more checks that pretty much do what PHP would do anyway, but without generating any errors. --- gen.php | 7 ++++--- get.php | 2 +- index.php | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/gen.php b/gen.php index 104a34f..4f77c77 100644 --- a/gen.php +++ b/gen.php @@ -1,8 +1,8 @@ Definition (without the surrounding [di]graph {} thing): (syntax, example)
-