From 23e822bcc1c3d0c2fdee2eed474c9debc36818b1 Mon Sep 17 00:00:00 2001 From: Malcolm Fell Date: Fri, 28 Jun 2013 09:19:53 +1200 Subject: Correct syntax error declaring final method --- php.html.markdown | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'php.html.markdown') diff --git a/php.html.markdown b/php.html.markdown index ec9c77e7..491255e9 100644 --- a/php.html.markdown +++ b/php.html.markdown @@ -367,10 +367,11 @@ Classes are insantiated with the ```new``` keyword. Functions are referred to as ```php class MyClass { - function myFunction() { + function myFunction() + { } - function function youCannotOverrideMe() + final function youCannotOverrideMe() { } -- cgit v1.2.3