From c88262d9d1f657a12831eb6734ec75bc1ee190b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Murat=20Y=C3=BCksel?= Date: Tue, 9 Jul 2013 01:39:12 +0300 Subject: Update php.html.markdown octal 019 and few syntax edits --- php.html.markdown | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/php.html.markdown b/php.html.markdown index 22c410d1..9627035c 100644 --- a/php.html.markdown +++ b/php.html.markdown @@ -48,9 +48,9 @@ $boolean = true; // or TRUE or True $boolean = false; // or FALSE or False // Integers -$int1 = 19; // => 19 -$int2 = -19; // => -19 -$int3 = 019; // => 15 (a leading 0 denotes an octal number) +$int1 = 12; // => 12 +$int2 = -12; // => -12 +$int3 = 012; // => 10 (a leading 0 denotes an octal number) $int4 = 0x0F; // => 15 (a leading 0x denotes a hex literal) // Floats (aka doubles) @@ -381,9 +381,6 @@ echo $function_name(1, 2); // => 3 * Includes */ -/* -``` -```php myTraitMethod(); // Prints "I have MyTrait" // This section is separate, because a namespace declaration // must be the first statement in a file. Let's pretend that is not the case -/* -``` -```php