3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(bin2hex(str_getcsv(\"foo\0bar,baz\")[0]));

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
7.2.40.1220.01317.95
7.2.30.1150.00817.83
7.2.20.1260.01117.66
7.2.10.1310.01017.64
7.2.00.2190.01317.83
7.1.160.1290.01216.52
7.1.150.1150.01316.44
7.1.140.1580.01116.59
7.1.130.1860.01516.35
7.1.120.1660.01116.03
7.1.110.1180.01015.70
7.1.100.1520.01016.05
7.1.90.2010.01415.89
7.1.80.2520.01515.64
7.1.70.1410.01315.04
7.1.60.1450.01332.76
7.1.50.2490.01532.85
7.1.40.2520.01632.44
7.1.30.2380.02032.54
7.1.20.3500.01732.56
7.1.10.2970.01014.55
7.1.00.2230.01114.51

preferences:
141.66 ms | 1394 KiB | 7 Q