Commit Graph

91 Commits

Author SHA1 Message Date
Badal Surana
7c16ec5ae1 [php/en] Fix typo (#2590) 2016-12-03 11:46:23 +01:00
Chung-Ping Huang
ebc70fe289 Add a missing semi-colon (#2572)
Add a missing semi-colon at Line 470
2016-11-15 22:49:32 -08:00
Peter Kokot
9420a489f9 [php/en] Normalize PHP code style a bit according to PSR-2 (#2518) 2016-10-26 21:14:11 +02:00
Ryan
367f1477f9 Change curly braces statement (#1804)
The '$$' before the braces was a bit confusing. I added a couple lines that show that you have options on where the '$' goes when it comes to curly braces in strings.
2016-06-16 15:04:40 +02:00
ven
5d23c9ec27 Merge pull request #1583 from AkshayKalose/patch-4
Add More Magic Methods in PHP
2016-03-11 09:38:04 +01:00
Patrick Lee
c50ff1ddc8 Update php.html.markdown
Changed var name to $associative
2016-02-18 16:38:15 -05:00
Patrick Lee
a5ae0795ba Update php.html.markdown
Moved to group with associative arrays.
2016-02-18 16:30:21 -05:00
Patrick Lee
663f6e28f5 Update php.html.markdown
Added reference to add an element to an associative array.
2016-02-18 15:59:00 -05:00
Adam Bard
d656adc3f2 Merge pull request #1964 from lesaff/patch-1
Add PHP magic constants entry
2016-01-06 04:05:23 +08:00
Geoff Liu
4f7b6d4a3b Merge pull request #1944 from shrz/master
[PHP/en] Add binary number example.
2016-01-03 14:02:53 -07:00
Rudy Affandi
dc1c759c29 Add the rest of the magic constants 2015-10-31 11:27:13 -07:00
Rudy Affandi
db690c17c5 Add PHP magic constants entry 2015-10-31 10:54:55 -07:00
Anton Ivanov
b307b65e8d Add binary number example. 2015-10-31 14:37:12 +03:00
Adam
c23fa36138 Revert "[php/en]"
This reverts commit 5afca01bdf.
2015-10-31 19:34:51 +08:00
Liam Demafelix
5afca01bdf [php/en]
Line 159 - echo isn't a function, print() is
Line 337 - unneeded semicolon (it's a pre-test loop)
2015-10-30 23:26:49 +08:00
ven
f4775ea193 Merge pull request #1736 from labrack/master
[php/en] Un-beef a comment block closing
2015-10-22 19:36:39 +02:00
labrack
c69ef3115b [php/en] Un-beef a comment block closing
Somebody beefed a closing on the 'Late Static Binding' Comment block, causing the next 18 or so lines to be included in the comment instead of parsed for syntax properly.
2015-10-22 13:06:15 -04:00
Adam Bard
329166d986 Merge pull request #1638 from xssc/patch-1
[php/en] Added variable amount of parameters as of php 5.6+
2015-10-19 14:30:28 +08:00
Tom Duff
087dbecb2f Add more examples and explanations
Added some clarifying examples to sections on echo(), constants, and
cleaned up formatting on others. Added further explanation about the
spaceship operator.
2015-10-18 20:21:42 -04:00
Sawyer Charles
b4c8ff365e capital letter 2015-10-18 17:47:42 -05:00
Sawyer Charles
ed4ac31d97 Added variable amount of parameters as of php 5.6+ 2015-10-18 17:46:23 -05:00
Akshay Kalose
d9f3b13e27 Fix Grammar and Syntax 2015-10-18 17:37:39 -04:00
Levi Bostian
6e3c5d677f Merge pull request #1544 from Glutnix/php-late-static-binding
[php/en] Adds late static binding
2015-10-18 12:03:02 -05:00
Levi Bostian
3a52c75127 Merge pull request #1535 from barendt/patch-1
Remove an extraneous space
2015-10-18 11:57:58 -05:00
Adam Bard
9bf4ec3798 Merge pull request #1578 from AkshayKalose/patch-2
Add Getting Parameters From Functions in PHP
2015-10-18 00:06:54 +08:00
Akshay Kalose
64aa38a1d2 Add More Magic Methods in PHP 2015-10-16 22:07:08 -04:00
Akshay Kalose
05a164fbf8 Fix Functions Tabbing 2015-10-16 21:43:47 -04:00
Akshay Kalose
b2f51952f0 Fix Grammar 2015-10-16 21:19:08 -04:00
Akshay Kalose
c2b68d138c Add Getting Parameters From Functions in PHP 2015-10-16 20:36:19 -04:00
Akshay Kalose
3b554a7e13 Update PHP with Additional Information 2015-10-16 20:11:37 -04:00
Brett Taylor
6c14f507c2 Adds late static binding to PHP reference 2015-10-16 12:04:17 +13:00
Greg Barendt
3777d8a059 Remove an extraneous space 2015-10-15 16:28:38 -04:00
Levi Bostian
c0107d2ccd Merge pull request #1385 from gayanhewa/master
[php/en] Adding error handling
2015-10-09 10:05:11 -05:00
Gabriel Halley
960ee4a185 removing whitespace all over 2015-10-07 23:11:24 -04:00
Gayan
ddb3c9eab5 Update php.html.markdown 2015-10-07 16:01:09 +08:00
Gayan
a03b400390 Update php.html.markdown 2015-10-07 15:13:17 +08:00
Gayan
0904a24f30 Adding exceptions and error handling 2015-10-07 15:12:31 +08:00
Levi Bostian
84a2cd0748 Merge pull request #1300 from dhwanishah/javaPageChange
Added how to declare and initialize variables for single and multiple instances
2015-10-04 17:13:51 -05:00
Levi Bostian
54a3d4cc7a Merge pull request #1292 from micheleorselli/more-php-operators
[PHP] Adds some new php operators
2015-10-04 17:10:47 -05:00
Dhwani Shah
4e139ae2f5 unneeded change fixed 2015-10-02 14:57:39 -05:00
Dhwani Shah
63793af2e9 Added section on how to declare and initialize both single varible and multiple varibles with the same value. Important concept for large structured programs. Seperated this a little bit. 2015-10-02 14:54:09 -05:00
Dhwani Shah
fb43ef2942 Added example of when string concatenation can also be helpful with combination of strings with html tags as this is important to understand when templating say output code from a database transaction. 2015-10-02 14:12:15 -05:00
Michele Orselli
0ad95b119d adds some new php operators 2015-10-02 18:24:45 +02:00
Levi Bostian
70af92f5c0 Merge pull request #1268 from jklein/patch-1
All class constants can be accessed statically
2015-10-02 11:13:21 -05:00
Luqi Pan
087d061948 Aligned the comment block 2015-10-01 16:42:51 -07:00
Jonathan Klein
222cfcd15c All class constants can be accessed statically 2015-10-01 07:37:05 -04:00
tleb
7458e15cd2 add ; to php/en 2015-05-14 21:30:15 +00:00
Geoffrey Liu
6933d24227 Capitalize language names. See #137 2014-10-12 12:24:52 -07:00
Jakukyo Friel
ae892c802c php: typo 2014-01-17 14:38:24 +08:00
Raul Brito
a72bcacba5 fix typo 2013-11-09 19:29:14 +01:00