summaryrefslogtreecommitdiff
path: root/test/it_text.t
diff options
context:
space:
mode:
authorChristian Schneider2020-09-15 13:20:03 +0200
committerChristian Schneider2020-09-15 13:20:03 +0200
commit79fd50e172a50918d9018f54ab6e40606181f95b (patch)
treec3292f632de47c825d16c55ca51a00ce68b4b3a4 /test/it_text.t
parentf42d056812d4c1766d75bd8ab6d871e06a700302 (diff)
downloaditools-79fd50e172a50918d9018f54ab6e40606181f95b.tar.gz
itools-79fd50e172a50918d9018f54ab6e40606181f95b.tar.bz2
itools-79fd50e172a50918d9018f54ab6e40606181f95b.zip
Make itools PHP 8 compatible
Diffstat (limited to 'test/it_text.t')
-rwxr-xr-xtest/it_text.t2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/it_text.t b/test/it_text.t
index 5629d51..6726996 100755
--- a/test/it_text.t
+++ b/test/it_text.t
@@ -1,7 +1,9 @@
#!/www/server/bin/php
<?php
+$obj = (object)[];
$obj->x = "attr";
+$obj->y = (object)[];
$obj->y->z = "attr";
is(it_text::transmogrify(""), "");