3v4l.org

run code in 300+ PHP versions simultaneously
<?php $info = array('coffee', 'brown', 'caffeine'); $drink = 'water'; // Listing all the variables list($drink, $color, $power) = $info; echo "$drink is $color and $power makes it special.\n";

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.60.0100.01016.50
8.3.50.0040.01116.46
8.3.40.0110.00418.79
8.3.30.0090.00618.67
8.3.20.0040.00418.46
8.3.10.0070.00021.82
8.3.00.0000.00821.94
8.2.180.0120.00916.38
8.2.170.0120.00322.96
8.2.160.0040.01122.12
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0040.00419.82
8.2.120.0080.00026.35
8.2.110.0070.00320.97
8.2.100.0110.00018.16
8.2.90.0040.00419.17
8.2.80.0040.00417.97
8.2.70.0000.00817.75
8.2.60.0050.00318.16
8.2.50.0000.00818.10
8.2.40.0040.00420.42
8.2.30.0040.00419.30
8.2.20.0020.00517.99
8.2.10.0000.00718.16
8.2.00.0000.00717.62
8.1.270.0060.00323.71
8.1.260.0090.00028.09
8.1.250.0000.00728.09
8.1.240.0030.00623.97
8.1.230.0070.00317.45
8.1.220.0040.00417.76
8.1.210.0000.00818.77
8.1.200.0040.00717.22
8.1.190.0040.00417.23
8.1.180.0070.00018.10
8.1.170.0040.00818.55
8.1.160.0040.00422.13
8.1.150.0030.00520.53
8.1.140.0070.00019.54
8.1.130.0000.00717.51
8.1.120.0000.00717.37
8.1.110.0020.00517.46
8.1.100.0000.00717.42
8.1.90.0070.00017.37
8.1.80.0000.00717.41
8.1.70.0070.00017.39
8.1.60.0050.00317.55
8.1.50.0080.00017.50
8.1.40.0040.00417.38
8.1.30.0040.00417.60
8.1.20.0000.00717.50
8.1.10.0000.00717.43
8.1.00.0070.00517.39
8.0.300.0070.00018.77
8.0.290.0030.00516.63
8.0.280.0000.00718.44
8.0.270.0040.00417.25
8.0.260.0030.00318.49
8.0.250.0030.00316.94
8.0.240.0040.00416.93
8.0.230.0080.00016.99
8.0.220.0030.00316.85
8.0.210.0040.00416.73
8.0.200.0030.00316.96
8.0.190.0030.00416.95
8.0.180.0000.00816.82
8.0.170.0040.00416.85
8.0.160.0030.00316.79
8.0.150.0000.00716.84
8.0.140.0040.00416.82
8.0.130.0050.00013.35
8.0.120.0040.00416.83
8.0.110.0000.00716.71
8.0.100.0040.00416.88
8.0.90.0050.00216.68
8.0.80.0070.01416.95
8.0.70.0000.00816.87
8.0.60.0040.00416.77
8.0.50.0000.00816.68
8.0.30.0090.00917.14
8.0.20.0070.01117.40
8.0.10.0050.00216.98
8.0.00.0080.00916.59
7.4.330.0000.00515.55
7.4.320.0030.00316.46
7.4.300.0040.00416.58
7.4.290.0050.00216.40
7.4.280.0030.00616.55
7.4.270.0040.00416.54
7.4.260.0060.00316.46
7.4.250.0040.00416.30
7.4.240.0040.00416.36
7.4.230.0070.00016.18
7.4.220.0120.00916.63
7.4.210.0100.00816.52
7.4.200.0040.00416.28
7.4.160.0100.00616.45
7.4.150.0090.00917.40
7.4.140.0110.00617.86
7.4.130.0090.00916.54
7.4.120.0100.00716.50
7.4.110.0120.00616.65
7.4.100.0040.01416.71
7.4.90.0050.01116.32
7.4.80.0070.01019.39
7.4.70.0060.01216.47
7.4.60.0030.02016.57
7.4.50.0030.00816.38
7.4.40.0100.00716.71
7.4.30.0090.00916.28
7.4.00.0060.00614.93
7.3.330.0030.00313.19
7.3.320.0060.00013.24
7.3.310.0000.00716.34
7.3.300.0000.00716.16
7.3.290.0000.00616.16
7.3.280.0080.00916.26
7.3.270.0070.01017.40
7.3.260.0070.01016.47
7.3.250.0140.00316.33
7.3.240.0060.01116.36
7.3.230.0070.01116.42
7.3.210.0090.00616.21
7.3.200.0080.01216.43
7.3.190.0090.00616.29
7.3.180.0080.01116.25
7.3.170.0170.00316.30
7.3.160.0170.00716.43
7.2.330.0130.00316.47
7.2.320.0120.00616.55
7.2.310.0120.00416.63
7.2.300.0110.01116.80
7.2.290.0090.01316.56
7.2.60.0060.00616.61
7.2.50.0000.01216.78
7.2.00.0100.00319.18
7.1.200.0040.00815.70
7.1.70.0040.00417.04
7.1.60.0000.01417.29
7.1.00.0070.07022.57
7.0.200.0000.01016.84
7.0.120.0030.05722.13
7.0.110.0070.05722.15
7.0.100.0100.05722.07
7.0.90.0070.07322.18
7.0.80.0170.07322.09
7.0.70.0170.06022.05
7.0.60.0130.05722.09
7.0.50.0030.06722.10
7.0.40.0200.04322.09
7.0.30.0130.04722.05
7.0.20.0070.05722.02
7.0.10.0070.05322.14
7.0.00.0100.05322.13
5.6.270.0070.05320.89
5.6.260.0100.05020.98
5.6.250.0070.05321.03
5.6.240.0100.07320.88
5.6.230.0170.08021.09
5.6.220.0100.08320.75
5.6.210.0200.05320.94
5.6.200.0070.07020.83
5.6.190.0100.05320.93
5.6.180.0100.05020.84
5.6.170.0030.05720.91
5.6.160.0100.06020.93
5.6.150.0000.06320.86
5.6.140.0070.05721.03
5.6.130.0100.05021.02
5.6.120.0070.06721.05
5.6.110.0130.05320.98
5.6.100.0130.05321.04
5.6.90.0030.06720.96
5.6.80.0000.06720.39
5.6.70.0130.04720.35
5.6.60.0070.05720.20
5.6.50.0100.05020.30
5.6.40.0100.06720.20
5.6.30.0130.05720.37
5.6.20.0170.04720.33
5.6.10.0130.05320.35
5.6.00.0070.05720.16

preferences:
69.02 ms | 400 KiB | 5 Q