Skip to content

Commit 8899794

Browse files
author
dima_los
committed
Added Tutorial 9 code
1 parent 54ea4d1 commit 8899794

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

tutorial-009-strings/strings.php

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<?php
2+
3+
$firstName = 'Spider';
4+
$lastName = 'Man';
5+
$fullName = $firstName . ' ' . $lastName;
6+
$fullNameDQ = "I'm {$firstName} $lastName";
7+
$escaping = 'I"m';
8+
9+
/**
10+
* \n
11+
* \r
12+
*/
13+
14+
var_dump($fullName, $fullNameDQ);

0 commit comments

Comments
 (0)