3v4l.org

run code in 300+ PHP versions simultaneously
<?php declare(strict_types = 1); $instruments = array(); $instruments['111'] = '111'; $instruments['222'] = '222'; $instruments['333'] = '333'; var_dump(implode("','", $instruments));
Output for 7.4.0 - 7.4.29, 8.0.1 - 8.0.19, 8.1.0 - 8.1.6
string(15) "111','222','333"

preferences:
18.81 ms | 409 KiB | 5 Q