From 2d26169b367af60cbc03d417c09918f50aa3b882 Mon Sep 17 00:00:00 2001 From: Laria Carolin Chabowski Date: Tue, 28 Apr 2020 19:29:41 +0200 Subject: Fix parser stumbling over "0" in names PHPs type juggling strikes again :( --- tests/test_tagname/code.php | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 tests/test_tagname/code.php (limited to 'tests/test_tagname/code.php') diff --git a/tests/test_tagname/code.php b/tests/test_tagname/code.php new file mode 100644 index 0000000..6001358 --- /dev/null +++ b/tests/test_tagname/code.php @@ -0,0 +1,20 @@ +register_tag( + $name, + function ($ste, $params, $sub) use ($name) { return $name; } + ); + } + +} -- cgit v1.2.3-70-g09d2