3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(-1); // PHP 7.1 ALL error $nuova_data = '2021-10-05'; $row['BookID'] = 1; $query = "UPDATE book SET year = '$nuova_data' WHERE BookID = '$row'['BookID']"; //$query2 = $query = "UPDATE book SET year = '$nuova_data' WHERE BookID = '{$row['BookID']}'"; var_dump($query);
Output for git.master, git.master_jit, rfc.property-hooks
Warning: Array to string conversion in /in/21GA4 on line 5 string(68) "UPDATE book SET year = '2021-10-05' WHERE BookID = 'Array'['BookID']"

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:
26.02 ms | 405 KiB | 5 Q