3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = 'PHP is a server side web programming language , PHP is amazing , I love PHP'; $array = array('html','css','javascript','ajax','html5','css3','jquery','PHP'); $words = explode(' ', $string); if(in_array(end($words), $array)){ echo 'Matched'; }

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.3.70.0070.01416.58
8.3.60.0090.00616.35
8.3.50.0110.00818.07
8.3.40.0150.00018.63
8.3.30.0080.00818.67
8.3.20.0070.00020.31
8.3.10.0040.00422.09
8.3.00.0040.00423.47
8.2.190.0120.00618.42
8.2.180.0090.00625.92
8.2.170.0090.00618.79
8.2.160.0100.00320.41
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0000.00720.38
8.2.120.0070.00026.35
8.2.110.0000.00921.00
8.2.100.0110.00019.45
8.2.90.0050.00317.63
8.2.80.0040.00418.81
8.2.70.0000.00719.37
8.2.60.0030.00517.38
8.2.50.0040.00419.38
8.2.40.0080.00019.32
8.2.30.0030.00517.62
8.2.20.0040.00417.91
8.2.10.0030.00518.04
8.2.00.0080.00018.04
8.1.280.0170.00325.92
8.1.270.0040.00422.18
8.1.260.0000.00826.35
8.1.250.0040.00428.09
8.1.240.0060.00319.23
8.1.230.0000.01117.77
8.1.220.0030.00517.74
8.1.210.0080.00018.77
8.1.200.0060.00317.23
8.1.190.0040.00417.23
8.1.180.0000.00818.10
8.1.170.0000.00917.62
8.1.160.0070.00018.87
8.1.150.0030.00520.08
8.1.140.0070.00017.30
8.1.130.0030.00318.83
8.1.120.0070.00017.31
8.1.110.0080.00017.35
8.1.100.0060.00317.38
8.1.90.0000.00717.29
8.1.80.0070.00317.43
8.1.70.0040.00417.40
8.1.60.0030.00517.40
8.1.50.0000.01117.50
8.1.40.0000.00817.43
8.1.30.0030.00617.59
8.1.20.0020.00517.54
8.1.10.0040.00417.41
8.1.00.0030.00617.45
8.0.300.0070.00018.77
8.0.290.0060.00316.75
8.0.280.0050.00517.93
8.0.270.0090.00018.02
8.0.260.0030.00816.68
8.0.250.0070.00016.89
8.0.240.0080.00016.89
8.0.230.0040.00416.93
8.0.220.0070.00016.77
8.0.210.0040.00416.73
8.0.200.0060.00016.74
8.0.190.0000.00916.88
8.0.180.0080.00016.74
8.0.170.0070.00016.81
8.0.160.0000.00716.71
8.0.150.0000.00716.85
8.0.140.0000.00716.68
8.0.130.0070.00013.19
8.0.120.0000.00816.83
8.0.110.0040.00416.72
8.0.100.0040.00416.70
8.0.90.0040.00416.71
8.0.80.0000.01716.85
8.0.70.0040.00416.89
8.0.60.0040.00416.86
8.0.50.0000.00716.78
8.0.30.0110.00717.18
8.0.20.0090.01117.40
8.0.10.0040.00416.77
8.0.00.0090.00916.84
7.4.330.0000.00515.55
7.4.320.0000.00716.34
7.4.300.0000.00616.58
7.4.290.0070.00016.45
7.4.280.0030.00516.52
7.4.270.0070.00016.56
7.4.260.0030.00316.54
7.4.250.0040.00416.39
7.4.240.0000.00716.53
7.4.230.0040.00416.47
7.4.220.0070.01116.56
7.4.210.0080.00816.57
7.4.200.0030.00316.63
7.4.160.0120.00816.48
7.4.150.0170.00317.40
7.4.140.0080.01017.86
7.4.130.0160.00316.66
7.4.120.0090.00916.49
7.4.110.0140.00716.43
7.4.100.0140.00616.48
7.4.90.0080.00916.40
7.4.80.0100.01019.39
7.4.70.0070.01016.45
7.4.60.0030.01316.33
7.4.50.0120.00316.39
7.4.40.0100.00616.43
7.4.30.0130.00416.41
7.4.00.0090.00915.04
7.3.330.0060.00013.00
7.3.320.0000.00612.90
7.3.310.0030.00515.98
7.3.300.0000.00716.17
7.3.290.0080.00916.14
7.3.280.0080.00816.14
7.3.270.0030.01517.40
7.3.260.0070.01016.29
7.3.250.0100.01016.22
7.3.240.0090.01016.29
7.3.230.0100.01016.34
7.3.210.0070.01016.08
7.3.200.0120.00416.05
7.3.190.0100.00616.23
7.3.180.0070.01116.36
7.3.170.0120.00416.26
7.3.160.0050.01116.24
7.2.330.0140.00416.45
7.2.320.0130.00316.38
7.2.310.0110.00716.36
7.2.300.0090.01216.19
7.2.290.0030.01616.57
7.2.60.0040.00716.95
7.1.200.0060.00315.64
7.1.100.9740.00016.03
7.1.90.8180.00716.23
7.1.80.5760.01015.94
7.1.70.6000.01215.25
7.1.60.7030.00333.32
7.1.50.6940.01732.95
7.1.40.0280.01332.71
7.1.30.0500.01432.64
7.1.20.0230.01032.57
7.1.10.0100.01014.65
7.1.00.0100.01314.77
7.0.241.0330.01015.46
7.0.230.8090.00715.91
7.0.220.8420.01015.73
7.0.210.6000.00714.69
7.0.201.0050.01014.88
7.0.190.7560.01014.91
7.0.180.6800.01614.36
7.0.170.0300.00314.11
7.0.160.0140.00514.57
7.0.150.0120.00614.25
7.0.140.0200.00314.38
7.0.130.0110.01314.65
7.0.120.5510.00614.78
7.0.110.0190.00614.36
7.0.100.7550.00314.61
7.0.90.0200.00314.33
7.0.80.0260.00514.67
7.0.70.0080.01514.38
7.0.60.0120.01214.34
7.0.50.0110.01114.68
7.0.40.0190.00614.70
7.0.30.0110.00714.71
7.0.20.0040.01214.63
7.0.10.0030.01314.50
7.0.00.0090.00914.60

preferences:
45.6 ms | 401 KiB | 5 Q