Peter Kokot
ad4b5705ae
Update links in pages to https
2023-01-15 19:29:46 +01:00
Peter Kokot
52b6de0d6f
Update links to https in Basics section
2023-01-11 20:57:11 +01:00
Xymph
98942ccc3b
Split run-on sentence into 2 sentences
2022-08-23 22:35:45 +02:00
Xymph
8c0b237667
Use plural grammar/spelling where intended
2022-08-23 22:35:34 +02:00
Xymph
a85d35345d
Remove inappropriate apostrophes
2022-08-23 22:19:23 +02:00
Xymph
ca0f073a4c
Remove space inside 2 hyphenated words
2022-08-23 22:18:11 +02:00
Xymph
389eb5c0c3
Fix incorrect case of a few words
2022-08-23 22:17:07 +02:00
Xymph
6e0076e2c2
Add missing punctuation
2022-08-23 22:15:28 +02:00
tacodes
74caf083ba
Add/remove commas for readability
2021-04-30 13:44:00 -06:00
colshrapnel
21ca28d92a
Delete the Variable declarations section
...
With the new memory management model the Variable declarations part is not relevant anymore. so it's better to be removed.
2021-03-01 12:09:49 +03:00
Ahammar Yassine
d90a6dd8be
Avoid comment misunderstanding
...
Old:
`$a = 3;
return ($a == 3) ? true : false; // Will return true or false if $a == 3`
New:
`$a = 3;
return ($a == 3) ? true : false; // Will return true if $a == 3 or false`
help us to avoid misunderstanding of the comment
2018-10-18 10:37:59 +00:00
Josh Lockhart
9f88b73edf
Merge pull request #776 from osule/patch-1
...
Highlight statement syntax for forming multiline strings
2018-06-20 10:52:17 -04:00
Oluwafemi Sule
8fbfb9f8c5
highlight statement syntax for multiline strings
2018-03-23 14:34:44 +01:00
Michael
2f681f4562
Update Functional-Programming.md
2018-02-26 11:19:29 +01:00
Josh Lockhart
efbcbf5de2
Remove singleton code sample, update gemfile
2016-11-19 17:29:12 -05:00
Eric Poe
ccdbf97a4a
Link to easy-to-read Read The Docs version rather than github repo
...
The Read The Docs version is a nicely formatted version of the github
version. It pulls directly from github, so it is just as up-to-date,
but has nicer formatting.
2016-10-05 23:00:15 -05:00
Phil Sturgeon
0121fada17
Merge pull request #673 from likemusic/patch-1
...
Update The-Basics.md
2016-07-17 14:37:21 +01:00
Valerij Ivashchenko
ed0063cafd
Update The-Basics.md
...
if/else statements can't be used inside class definition, just inside class methods. This may confuse beginners.
2016-07-16 12:38:35 +03:00
Valerij Ivashchenko
7d94b0f83c
Update The-Basics.md
...
Comment "Strict comparisons" over "equality comparisons" code example make confusing.
2016-07-16 12:34:11 +03:00
Phil Sturgeon
dc7ab1b3bc
Merge pull request #602 from echernyavskiy/patch-2
...
Add an example of even more simple boolean return statement
2016-02-15 21:47:54 -05:00
ftwbzhao
cbba996ea6
[Basic]Ternary operators inform minor change
2015-11-17 00:11:47 +08:00
Evgeny Chernyavskiy
adff75fc95
Add an example of even more simple boolean return statement
2015-10-03 16:44:04 -04:00
Phil Sturgeon
85ce98134f
Merge pull request #504 from bocharsky-bw/patch-2
...
Use static property instead of static variable
2015-06-12 11:41:28 -04:00
Ryan Nickel
c31603c7e5
typo fixed
2015-02-01 14:28:32 -05:00
Phil Sturgeon
a0b56d6c37
noticable -> noticeable
2015-01-22 15:01:59 -05:00
jrfnl
fe46acb357
Add links to other useful resources and video tutorials
2015-01-02 18:28:34 +01:00
Phil Sturgeon
78674b1d5b
Merge pull request #500 from peterkokot/patch-sitemap
...
jekyll-sitemap gem added
2015-01-02 11:41:18 -05:00
Josh Lockhart
c460b9091a
Make test change to check build errors
2014-12-30 09:47:59 -05:00
Bocharsky Victor
17432d88cb
Use @var instead of obsolete @static tag
2014-12-19 11:36:14 +02:00
Bocharsky Victor
0f6709c751
Use static property instead of static variable
...
I think better to use OOP static property for Singleton class like in other resources, isn't it?
- (domnikl/DesignPatternsPHP Singleton)[https://github.com/domnikl/DesignPatternsPHP/blob/master/Creational/Singleton/Singleton.php#L13 ]
- (Singleton Wiki)[https://uk.wikipedia.org/wiki/%D0%9E%D0%B4%D0%B8%D0%BD%D0%B0%D0%BA_(%D1%88%D0%B0%D0%B1%D0%BB%D0%BE%D0%BD_%D0%BF%D1%80%D0%BE%D0%B5%D0%BA%D1%82%D1%83%D0%B2%D0%B0%D0%BD%D0%BD%D1%8F)#.D0.A0.D0.B5.D0.B0.D0.BB.D1.96.D0.B7.D0.B0.D1.86.D1.96.D1.8F_.D0.BD.D0.B0_PHP5 ]
2014-12-19 11:09:40 +02:00
Peter Kokot
d1851cc82b
jekyll-sitemap gem added
2014-12-09 06:18:31 +01:00
jrfnl
185120cf6f
Minor style fixes
...
- use `()` when referencing functions
2014-12-08 22:05:28 +01:00
jrfnl
3f66f074d5
Wrap bullet list
2014-12-08 22:03:56 +01:00
jrfnl
80148bdc44
Jekyll header spacing consistency
2014-12-08 22:03:53 +01:00
jrfnl
ce8d83fb6f
Verify link consistency - round 1
...
- Verify that all named links at the bottom of a post are in use, otherwise either remove or add link in post
- if the post uses named links, try and make sure all links in the post are in that style
- ensure logical order for the named links at the bottom
2014-12-08 22:03:49 +01:00
jrfnl
82ee7ad76a
Fix line wrapping consistency - round 1
...
Comply with the 'wrap at 120 chars' style rule stated in the contributing.md document
2014-12-08 22:03:47 +01:00
jrfnl
7d19feaf98
Fix highlighter consistency
...
- in some places php would not be highlighted as the `<?php` tag was missing
- in one place there was a duplicate `<?php` tage
- replaced `bash` with `console` for better highlighting
- ensured all console snippets are wrapped within highlighting code
- wrapped ini examples in highlighting code
2014-12-08 19:32:03 +01:00
jrfnl
1852c53aa5
Use language independent permalinks for php.net urls
...
@see http://php.net/urlhowto.php
2014-12-08 17:48:38 +01:00
Simon Scarfe
13dc1512b6
Link dead, using archived version
2014-12-01 21:33:27 +00:00
Phil Sturgeon
e6436bf9a1
Merge pull request #384 from Mihailoff/patch-1
...
Link to collection of pattern implementations
2014-10-19 15:43:19 -05:00
Phil Sturgeon
4f82b3e146
Merge pull request #417 from dave1010/patch-1
...
Tweak example code for PSR-1/PSR-2 coding standard
2014-10-19 15:42:21 -05:00
Phil Sturgeon
cdb013302a
Cant spell basic words
2014-10-08 09:54:10 -05:00
Phil Sturgeon
291745c26f
Closes #441 : Cleared up some string examples.
...
Double v Single = meh.
2014-10-07 17:31:20 -05:00
Dave Hulbert
3e660e37ed
Tweak example code for PSR-1/PSR-2 coding standard
2014-08-08 12:14:24 +01:00
Phil Sturgeon
a7cd471215
Fixed up a few bits and bobs including syntax error.
2014-06-10 14:41:31 +01:00
Neil Masters
3c647ba559
Update The-Basics.md
...
Tidying up the wordyness, removing overused and thus redundant variable assignments and improving explanations in replacement for quick & short comments.
2014-06-02 23:32:50 +01:00
George Mihailov
145e5eef74
Link to collection of pattern implementations
...
See https://github.com/domnikl/DesignPatternsPHP
2014-03-26 10:44:47 +02:00
Neil Masters
871ca108d2
Update The-Basics.md
...
Added section for using brackets for both form and function. I would appreciate a second set of eyes over this to clarify its easy to understand.
2014-03-13 09:56:01 +00:00
Neil Masters
84491f7b06
Update The-Basics.md
...
Updated to conform to rest of document and I believe that I have utilized the correct syntax for then highlighters.
2014-03-12 16:25:24 +00:00
Neil Masters
0b78a32686
Update The-Basics.md
...
Adding a suggested change to ternary operators where its not actually necessary to use them but is commonly seen.
2014-03-12 13:27:40 +00:00