3v4l.org

run code in 500+ PHP versions simultaneously
<?php $conn = new SQLite3(':memory:'); $data = "foo\0bar"; var_dump($conn->escapeString($data));
Output for master
Fatal error: Uncaught ValueError: SQLite3::escapeString(): Argument #1 ($string) must not contain any null bytes in /in/hPH7B:5 Stack trace: #0 /in/hPH7B(5): SQLite3::escapeString('foo\x00bar') #1 {main} thrown in /in/hPH7B on line 5
Process exited with code 255.

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
10.97 ms | 1167 KiB | 7 Q