3v4l.org

run code in 500+ PHP versions simultaneously
<?php $s = 'Posted On jan 3rd By Some Dude'; var_export(strstr($s, 'By', true));

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)
8.5.30.0130.00519.69
8.5.20.0120.00619.97
8.5.10.0100.01016.58
8.5.00.0130.01021.76
8.4.180.0130.01019.57
8.4.170.0130.00823.88
8.4.160.0090.01223.82
8.4.150.0070.00516.81
8.4.140.0150.01317.54
8.4.130.0130.00618.80
8.4.120.0100.00923.86
8.4.110.0120.00718.82
8.4.100.0130.00618.84
8.4.90.0040.00420.38
8.4.80.0080.00318.46
8.4.70.0140.00518.86
8.4.60.0050.00718.89
8.4.50.0040.00618.56
8.4.40.0110.00717.23
8.4.30.0120.00618.64
8.4.20.0170.00319.34
8.4.10.0060.01319.27
8.3.300.0120.00820.59
8.3.290.0110.01020.83
8.3.280.0100.00820.76
8.3.270.0170.00816.41
8.3.260.0120.00816.43
8.3.250.0080.01018.94
8.3.240.0080.00017.36
8.3.230.0040.00616.57
8.3.220.0040.00418.94
8.3.210.0050.00316.73
8.3.200.0070.00216.60
8.3.190.0130.00518.80
8.3.180.0110.00818.77
8.3.170.0120.00320.55
8.3.160.0060.01316.50
8.3.150.0140.00317.14
8.3.140.0050.00317.13
8.3.130.0040.00418.56
8.3.120.0040.00418.96
8.3.110.0060.00318.32
8.3.100.0090.00016.38
8.3.90.0030.00516.74
8.3.80.0310.01730.84
8.3.70.0380.01030.84
8.3.60.0450.00330.84
8.3.50.0100.01030.84
8.3.40.0340.00630.84
8.3.30.0360.00930.84
8.3.20.0200.00830.84
8.3.10.0180.00330.84
8.3.00.0070.01130.84
8.2.300.0090.01122.11
8.2.290.0080.00720.23
8.2.280.0050.00318.63
8.2.270.0090.00917.92
8.2.260.0040.00418.27
8.2.250.0050.00216.46
8.2.240.0100.00618.92
8.2.230.0030.00620.94
8.2.220.0040.00424.06
8.2.210.0060.00326.77
8.2.200.0130.00430.84
8.2.190.0130.00630.84
8.2.180.0130.00530.84
8.2.170.0170.00730.84
8.2.160.0190.00830.84
8.2.150.0410.00630.84
8.2.140.0240.00030.84
8.2.130.0210.00030.84
8.2.120.0160.00330.84
8.2.110.0160.00430.84
8.2.100.0150.00430.84
8.2.90.0110.00830.84
8.2.80.0100.01030.84
8.2.70.0190.00030.84
8.2.60.0110.01130.84
8.2.50.0120.00930.84
8.2.40.0100.00730.84
8.2.30.0130.00430.84
8.2.20.0140.00330.84
8.2.10.0130.00430.84
8.2.00.0170.00030.84
8.1.340.0110.00921.46
8.1.330.0120.00521.95
8.1.320.0130.00516.24
8.1.310.0070.01116.38
8.1.300.0040.00419.50
8.1.290.0190.00330.84
8.1.280.0210.00330.84
8.1.270.0200.00030.84
8.1.260.0310.01130.84
8.1.250.0430.00030.84
8.1.240.0200.01030.84
8.1.230.0340.00630.84
8.1.220.0430.00830.84
8.1.210.0260.01330.84
8.1.200.0200.01730.84
8.1.190.0150.00330.84
8.1.180.0220.00530.84
8.1.170.0310.00730.84
8.1.160.0310.00630.84
8.1.150.0320.00630.84
8.1.140.0370.00030.84
8.1.130.0330.00430.84
8.1.120.0170.02030.84
8.1.110.0210.01530.84
8.1.100.0140.00330.84
8.1.90.0140.00330.84
8.1.80.0170.00030.84
8.1.70.0210.00330.84
8.1.60.0300.00430.84
8.1.50.0390.00930.84
8.1.40.0350.00630.84
8.1.30.0260.01530.84
8.1.20.0340.00730.84
8.1.10.0160.00530.84
8.1.00.0170.00330.84

preferences:
50.31 ms | 973 KiB | 5 Q