@@ -133,7 +133,7 @@ Or even through the session helper method:
133133.. literalinclude :: sessions/007.php
134134
135135Where ``item `` is the array key corresponding to the item you wish to fetch.
136- For example, to assign a previously stored ' name' item to the ``$name ``
136+ For example, to assign a previously stored `` name `` item to the ``$name ``
137137variable, you will do this:
138138
139139.. literalinclude :: sessions/008.php
@@ -188,8 +188,8 @@ Or you can call ``has()``:
188188Pushing new value to session data
189189=================================
190190
191- The push method is used to push a new value onto a session value that is an array.
192- For instance, if the ' hobbies' key contains an array of hobbies, you can add a new value onto the array like so:
191+ The `` push() `` method is used to push a new value onto a session value that is an array.
192+ For instance, if the `` hobbies `` key contains an array of hobbies, you can add a new value onto the array like so:
193193
194194.. literalinclude :: sessions/015.php
195195
@@ -203,7 +203,7 @@ done through ``unset()``:
203203
204204Also, just as ``set() `` can be used to add information to a
205205session, ``remove() `` can be used to remove it, by passing the
206- session key. For example, if you wanted to remove ' some_name' from your
206+ session key. For example, if you wanted to remove `` some_name `` from your
207207session data array:
208208
209209.. literalinclude :: sessions/017.php
0 commit comments