Skip to content

Commit 69b7bb2

Browse files
committed
Forget to remove these namespace crap (thanks to george to remind me)
1 parent a370ceb commit 69b7bb2

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

ext/spl/spl.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ function new_iterator();
2929
* can be used as a parameter to be iterated (normally an array).
3030
*
3131
* \code
32-
class c implements spl::foreach, spl::forward {
32+
class c implements spl_foreach, spl_forward {
3333
private $num = 0;
3434
function new_iterator() {
3535
$this->num = 0;
@@ -62,13 +62,13 @@ function has_more() {
6262
* If you need this you must split the two parts.
6363
*
6464
* \code
65-
class c implements spl::foreach {
65+
class c implements spl_foreach {
6666
public $max = 3;
6767
function new_iterator() {
6868
return new c_iter($this);
6969
}
7070
}
71-
class c_iter implements spl::forward {
71+
class c_iter implements spl_forward {
7272
private $obj;
7373
private $num = 0;
7474
function __construct($obj) {
@@ -97,13 +97,13 @@ function has_more() {
9797
* You can also use this interface with the for() construct.
9898
*
9999
* \code
100-
class c implements spl::foreach {
100+
class c implements spl_foreach {
101101
public $max = 3;
102102
function new_iterator() {
103103
return new c_iter($this);
104104
}
105105
}
106-
class c_iter implements spl::forward {
106+
class c_iter implements spl_forward {
107107
private $obj;
108108
private $num = 0;
109109
function __construct($obj) {
@@ -212,7 +212,7 @@ function get($index);
212212
*
213213
* The following example shows how to use an array_writer:
214214
* \code
215-
class array_emulation implemets spl::array_access {
215+
class array_emulation implemets spl_array_access {
216216
private $ar = array();
217217
function exists($index) {
218218
return array_key_exists($index, $this->ar);
@@ -245,7 +245,7 @@ function set($value, $index);
245245
*
246246
* The following example shows how to use a customized array_writer:
247247
* \code
248-
class array_emulation_ex extends array_emulation implemets spl::array_access_ex {
248+
class array_emulation_ex extends array_emulation implemets spl_array_access_ex {
249249
private $last_index = NULL;
250250
function new_writer($index) {
251251
$last_index = $index;

0 commit comments

Comments
 (0)