Commit Graph

19 Commits

Author SHA1 Message Date
NirvashPrime
6ce8429d45 Revised document and expanded scope of information (#19430)
Removed text copied from php.net, revised grammar and formatting, and expanded scope of information to include multiple array styles and how to access elements in these styles.
2018-10-15 23:55:52 -05:00
NirvashPrime
cedb5befd9 Updated syntax, corrected and added information. (#19433)
Updated syntax to adhere to PSR, corrected outdated information, and added additional information regarding tags and indentation.
2018-10-15 23:55:08 -05:00
Przemysław Wolski
107eed4a76 Note about uninitialized variables (#19289)
* Update index.md

Note about uninitialized variables.

* Update index.md
2018-10-15 23:52:05 -05:00
NirvashPrime
a143f8d75d Added additional information and corrected syntax (#19341)
When using strpos() it is important to run a comparison to avoid mistaken values. Also, when files only contain PHP (such as the snippets shown), they should not have closing tags (?>) as this can cause undesirable output.
2018-10-15 23:31:48 -05:00
Shahriar Rashid Mahmud
39a9eec9e7 Add an alternative way to control structures (#19259) 2018-10-15 23:27:58 -05:00
Shahriar Rashid Mahmud
e36832b1ca Add a "Variable lifecycle" short note (#19263) 2018-10-15 23:19:00 -05:00
NirvashPrime
37318fa8da Revised formatting and added information (#19431)
Revised formatting to follow PSR, included additional examples, added multiple conditions with logical operators, and added a reference to ternary operators.
2018-10-15 20:59:38 -07:00
NirvashPrime
0cd8496ad0 Added fall-through documentation & return notation (#19428)
* Added fall-through documentation & return notation

Fall-through is an important feature of switch statements. In addition, best practices with break-usage have been included.

* fix: added closing switch curly braces

* fix: corrected link syntax
2018-10-15 20:57:51 -07:00
Naman jain
c87c76f8cb include my added text to the file (#18972) 2018-10-15 22:04:10 -05:00
SoFresher
bcbc4c5416 Add "info about mysqli" (#18720)
* Add "info about mysqli"

Add the section "Some Important MYSQLi functions and their uses"
Add the link "for more information"

* Update index.md
2018-10-15 15:04:30 -05:00
Shahriar Rashid Mahmud
6ac087f16b Add the text "indexed array" in example comment (#19254) 2018-10-15 14:44:21 -03:00
Hovhannes
f937d627c8 GET & POST 2018-10-15 21:10:19 +09:00
Nitin Sharma
ce92f504d9 Fixed various grammatical issues. (#18496)
Fixed various grammatical and structural issues in the article.
2018-10-14 11:19:07 -05:00
Nitin Sharma
7121f8ca41 Added Nested case and updated ElseIf statement. (#18465)
Added the nested If/Else case.
Added the missing condition if ElseIf block.
2018-10-14 11:10:03 -05:00
Alexandru-Daniel Nedelcu
88c3b75333 Fix(guide): clean up Markdown formatting 2018-10-13 17:21:12 -04:00
Hovhannes
5c9572eed8 Add manually expiring a session example (#18394) 2018-10-13 16:25:24 -04:00
Beth Martin
a995f8f980 move php-syntax-overview to php folder 2018-10-13 07:49:02 +01:00
Mrugesh Mohapatra
7a860204af fix(guide): update latest copy from guide repo 2018-10-12 04:50:51 +05:30
Mrugesh Mohapatra
73a97354e1 fix(guide): move guide to english directory 2018-10-12 04:50:51 +05:30