summaryrefslogtreecommitdiff
path: root/ext/dom
diff options
context:
space:
mode:
authorStanislav Malyshev <stas@php.net>2013-06-10 14:20:18 -0700
committerStanislav Malyshev <stas@php.net>2013-06-10 14:30:59 -0700
commit02e4d7a290ae437688b3a3d114621a1d32444560 (patch)
treeab3b9d2387ac6914ab7dd68afda87134d3b81e4b /ext/dom
parentec790753948d190db354cbce97786b4a1aac63fc (diff)
downloadphp-git-02e4d7a290ae437688b3a3d114621a1d32444560.tar.gz
Merge branch 'pull-request/341'
* pull-request/341: (23 commits) typofixes
Diffstat (limited to 'ext/dom')
-rw-r--r--ext/dom/element.c2
-rw-r--r--ext/dom/tests/DOMNode_removeChild_basic.phpt4
2 files changed, 3 insertions, 3 deletions
diff --git a/ext/dom/element.c b/ext/dom/element.c
index f217ca2450..606a23f9cb 100644
--- a/ext/dom/element.c
+++ b/ext/dom/element.c
@@ -177,7 +177,7 @@ PHP_METHOD(domelement, __construct)
RETURN_FALSE;
}
- /* Namespace logic is seperate and only when uri passed in to insure no BC breakage */
+ /* Namespace logic is separate and only when uri passed in to insure no BC breakage */
if (uri_len > 0) {
errorcode = dom_check_qname(name, &localname, &prefix, uri_len, name_len);
if (errorcode == 0) {
diff --git a/ext/dom/tests/DOMNode_removeChild_basic.phpt b/ext/dom/tests/DOMNode_removeChild_basic.phpt
index 384eb47b5e..fb0977488e 100644
--- a/ext/dom/tests/DOMNode_removeChild_basic.phpt
+++ b/ext/dom/tests/DOMNode_removeChild_basic.phpt
@@ -39,7 +39,7 @@ $root = $dom->documentElement;
$children = $root->childNodes;
$len = $children->length;
-echo "orignal has $len nodes\n";
+echo "original has $len nodes\n";
for ($index = $children->length - 1; $index >=0; $index--) {
echo "node $index\n";
$current = $children->item($index);
@@ -58,7 +58,7 @@ for ($index = 0; $index < $children->length; $index++) {
}
--EXPECTF--
-orignal has 5 nodes
+original has 5 nodes
node 4
Course: no title:DOMText
~string(1) "