3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo sprintf("This item is %s", ["cotton"]);
based on gplsO
Output for 5.6.0 - 5.6.30, hhvm-3.18.5 - 3.21.3, 7.0.0 - 7.3.0alpha1
Notice: Array to string conversion in /in/bQBvZ on line 3 This item is Array
Output for hhvm-3.22.0
Notice: Array to string conversion in /in/bQBvZ on line -1 This item is Array