From 6a0cbe8c82581e55583220b929f591c4cc4f3ab8 Mon Sep 17 00:00:00 2001 From: kevin_lomax Date: Thu, 16 Apr 2009 01:03:15 +0000 Subject: [PATCH] Stripping away strtolower(). git-svn-id: https://spyc.svn.sourceforge.net/svnroot/spyc/trunk/spyc@51 090e67a5-f42f-0410-ab3f-d4a15b21652a --- spyc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spyc.php b/spyc.php index 280c97d..85bb4e9 100644 --- a/spyc.php +++ b/spyc.php @@ -484,7 +484,7 @@ class Spyc { return $array; } - if (strtolower($value) == 'null' or $value == '' or $value == '~') { + if ($value == 'null' || $value == 'NULL' || $value == 'Null' || $value == '' || $value == '~') { return null; } -- 2.11.4.GIT