Skip to content

Commit 52b6de0

Browse files
committed
Update links to https in Basics section
1 parent bbde1b0 commit 52b6de0

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

pages/The-Basics.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ if (strpos('testing', 'test') !== false) { // true, as strict comparison was
3131
}
3232
{% endhighlight %}
3333
34-
* [Comparison operators](http://php.net/language.operators.comparison)
35-
* [Comparison table](http://php.net/types.comparisons)
36-
* [Comparison cheatsheet](http://phpcheatsheets.com/index.php?page=compare)
34+
* [Comparison operators](https://www.php.net/language.operators.comparison)
35+
* [Comparison table](https://www.php.net/types.comparisons)
36+
* [Comparison cheatsheet](https://phpcheatsheets.com/index.php?page=compare)
3737
3838
## Conditional statements
3939
@@ -73,7 +73,7 @@ function test($a)
7373
7474
{% endhighlight %}
7575
76-
* [If statements](http://php.net/control-structures.if)
76+
* [If statements](https://www.php.net/control-structures.if)
7777
7878
### Switch statements
7979
@@ -106,7 +106,7 @@ function test($a)
106106
}
107107
{% endhighlight %}
108108
109-
* [Switch statements](http://php.net/control-structures.switch)
109+
* [Switch statements](https://www.php.net/control-structures.switch)
110110
* [PHP switch](http://phpswitch.com/)
111111
112112
## Global namespace
@@ -131,8 +131,8 @@ function array()
131131
}
132132
{% endhighlight %}
133133
134-
* [Global space](http://php.net/language.namespaces.global)
135-
* [Global rules](http://php.net/userlandnaming.rules)
134+
* [Global space](https://www.php.net/language.namespaces.global)
135+
* [Global rules](https://www.php.net/userlandnaming.rules)
136136
137137
## Strings
138138
@@ -156,7 +156,7 @@ $a = 'Multi-line example' // concatenation operator (.)
156156
. 'of what to do';
157157
{% endhighlight %}
158158
159-
* [String Operators](http://php.net/language.operators.string)
159+
* [String Operators](https://www.php.net/language.operators.string)
160160
161161
### String types
162162
@@ -184,7 +184,7 @@ echo 'This is my string, look at how pretty it is.'; // no need to parse a si
184184
*/
185185
{% endhighlight %}
186186
187-
* [Single quote](http://php.net/language.types.string#language.types.string.syntax.single)
187+
* [Single quote](https://www.php.net/language.types.string#language.types.string.syntax.single)
188188
189189
#### Double quotes
190190
@@ -234,7 +234,7 @@ $juice = array('apple', 'orange', 'plum');
234234
echo "I drank some juice made of {$juice[1]}s"; // $juice[1] will be parsed
235235
{% endhighlight %}
236236
237-
* [Double quotes](http://php.net/language.types.string#language.types.string.syntax.double)
237+
* [Double quotes](https://www.php.net/language.types.string#language.types.string.syntax.double)
238238
239239
#### Nowdoc syntax
240240
@@ -260,7 +260,7 @@ EOD; // closing 'EOD' must be on its own line, and to the
260260
*/
261261
{% endhighlight %}
262262
263-
* [Nowdoc syntax](http://php.net/language.types.string#language.types.string.syntax.nowdoc)
263+
* [Nowdoc syntax](https://www.php.net/language.types.string#language.types.string.syntax.nowdoc)
264264
265265
#### Heredoc syntax
266266
@@ -288,7 +288,7 @@ EOD; // closing 'EOD' must be on its own line, and to the
288288
*/
289289
{% endhighlight %}
290290
291-
* [Heredoc syntax](http://php.net/language.types.string#language.types.string.syntax.heredoc)
291+
* [Heredoc syntax](https://www.php.net/language.types.string#language.types.string.syntax.heredoc)
292292
293293
> It should be noted that multiline strings can also be formed by continuing them across multilines in a statement. _e.g._
294294

@@ -326,7 +326,7 @@ Regardless of what you are doing with strings, none of the types will ever have
326326
application. Trying to rewrite code to use one or the other is always an exercise in futility, so avoid this
327327
micro-optimization unless you really understand the meaning and impact of the differences.
328328

329-
* [Disproving the Single Quotes Performance Myth](http://nikic.github.io/2012/01/09/Disproving-the-Single-Quotes-Performance-Myth.html)
329+
* [Disproving the Single Quotes Performance Myth](https://www.npopov.com/2012/01/09/Disproving-the-Single-Quotes-Performance-Myth.html)
330330

331331

332332
## Ternary operators
@@ -413,4 +413,4 @@ return ($a != 3 && $b != 4) || $c == 5;
413413
Since PHP 5.3, it is possible to leave out the middle part of the ternary operator.
414414
Expression "expr1 ?: expr3" returns expr1 if expr1 evaluates to TRUE, and expr3 otherwise.
415415
416-
* [Ternary operators](http://php.net/language.operators.comparison)
416+
* [Ternary operators](https://www.php.net/language.operators.comparison)

0 commit comments

Comments
 (0)