summaryrefslogtreecommitdiff
path: root/ext/dom/tests/DOMNode_insertBefore_error2.phpt
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2017-02-02 21:40:19 +0100
committerNikita Popov <nikita.ppv@gmail.com>2017-02-03 21:02:52 +0100
commit6ba720662084306906e125d8f690146d7b86b303 (patch)
treef67c750798dc5fd2c072a5274983e47f49083cf5 /ext/dom/tests/DOMNode_insertBefore_error2.phpt
parenta8239ff23272a346f6cb8f01bff384f94a3bcb79 (diff)
downloadphp-git-6ba720662084306906e125d8f690146d7b86b303.tar.gz
Deprecate assert() with string argument
Diffstat (limited to 'ext/dom/tests/DOMNode_insertBefore_error2.phpt')
-rw-r--r--ext/dom/tests/DOMNode_insertBefore_error2.phpt6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/dom/tests/DOMNode_insertBefore_error2.phpt b/ext/dom/tests/DOMNode_insertBefore_error2.phpt
index 5d389f529e..835dfa065a 100644
--- a/ext/dom/tests/DOMNode_insertBefore_error2.phpt
+++ b/ext/dom/tests/DOMNode_insertBefore_error2.phpt
@@ -15,13 +15,13 @@ assert.bail=true
$dom = new DOMDocument();
$doc = $dom->load(dirname(__FILE__) . "/book.xml", LIBXML_NOBLANKS);
-assert('$doc === true');
+assert($doc === true);
$parent_node = $dom->getElementsByTagName("book")->item(0);
-assert('!is_null($parent_node)');
+assert(!is_null($parent_node));
$new_node = $dom->createElement('newnode');
-assert('$new_node !== false');
+assert($new_node !== false);
// getting a sibling as reference node to insert