3v4l.org

run code in 300+ PHP versions simultaneously
<?php define("TEST", "test"); function test($test = TEST . " this shit") { echo $test; } test();

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.73
8.3.50.0060.00921.97
8.3.40.0090.00618.67
8.3.30.0090.00618.54
8.3.20.0000.00820.25
8.3.10.0070.00023.53
8.3.00.0040.00419.01
8.2.180.0070.00716.38
8.2.170.0110.01122.96
8.2.160.0060.00920.38
8.2.150.0040.00824.18
8.2.140.0050.00224.66
8.2.130.0060.00317.50
8.2.120.0040.00426.35
8.2.110.0070.00320.92
8.2.100.0080.00417.80
8.2.90.0040.00419.22
8.2.80.0060.00317.97
8.2.70.0030.00517.34
8.2.60.0000.00817.93
8.2.50.0030.00518.07
8.2.40.0080.00019.45
8.2.30.0050.00220.62
8.2.20.0090.00017.48
8.2.10.0000.00717.95
8.2.00.0020.00517.97
8.1.280.0110.00425.92
8.1.270.0050.00523.88
8.1.260.0080.00028.09
8.1.250.0070.00028.09
8.1.240.0060.00322.06
8.1.230.0110.00017.54
8.1.220.0000.00817.74
8.1.210.0030.00618.77
8.1.200.0030.00617.11
8.1.190.0040.00417.13
8.1.180.0040.00418.10
8.1.170.0030.00518.51
8.1.160.0020.00522.03
8.1.150.0000.00718.75
8.1.140.0060.00319.43
8.1.130.0000.00717.62
8.1.120.0040.00417.37
8.1.110.0070.00017.29
8.1.100.0040.00417.35
8.1.90.0000.00717.29
8.1.80.0050.00217.32
8.1.70.0070.00017.30
8.1.60.0040.00417.53
8.1.50.0000.00817.47
8.1.40.0000.00817.49
8.1.30.0040.00417.48
8.1.20.0040.00417.64
8.1.10.0000.00817.33
8.1.00.0080.00017.38
8.0.300.0000.00818.77
8.0.290.0040.00416.63
8.0.280.0000.00718.31
8.0.270.0070.00017.19
8.0.260.0070.00317.21
8.0.250.0000.00616.76
8.0.240.0030.00316.82
8.0.230.0000.00816.79
8.0.220.0070.00316.59
8.0.210.0030.00316.80
8.0.200.0030.00316.69
8.0.190.0060.00316.71
8.0.180.0000.00716.74
8.0.170.0030.00516.74
8.0.160.0040.00416.72
8.0.150.0000.00716.71
8.0.140.0030.00316.54
8.0.130.0040.00413.19
8.0.120.0030.00516.62
8.0.110.0040.00416.61
8.0.100.0040.00416.85
8.0.90.0000.00716.66
8.0.80.0030.01416.71
8.0.70.0000.00716.87
8.0.60.0020.00516.65
8.0.50.0040.00416.59
8.0.30.0090.00817.11
8.0.20.0130.00817.40
8.0.10.0040.00416.73
8.0.00.0040.01516.81
7.4.330.0050.00016.81
7.4.320.0030.00316.51
7.4.300.0030.00316.29
7.4.290.0070.00016.42
7.4.280.0080.00016.54
7.4.270.0070.00016.46
7.4.260.0000.00716.51
7.4.250.0040.00416.52
7.4.240.0040.00416.48
7.4.230.0060.00016.51
7.4.220.0110.00916.52
7.4.210.0120.00316.63
7.4.200.0040.00416.55
7.4.160.0090.00616.19
7.4.150.0110.00517.40
7.4.140.0110.01217.86
7.4.130.0100.00816.45
7.4.120.0080.00816.49
7.4.110.0140.00416.67
7.4.100.0140.00516.50
7.4.90.0050.01116.43
7.4.80.0150.00319.39
7.4.70.0060.01216.74
7.4.60.0060.00916.51
7.4.50.0110.00316.36
7.4.40.0090.00616.50
7.4.30.0130.00716.54
7.4.00.0110.00714.84
7.3.330.0050.00313.38
7.3.320.0000.00613.23
7.3.310.0070.00016.34
7.3.300.0030.00316.16
7.3.290.0110.00516.32
7.3.280.0050.01216.36
7.3.270.0100.00717.40
7.3.260.0090.00616.27
7.3.250.0070.00916.34
7.3.240.0140.00616.38
7.3.230.0070.01016.39
7.3.210.0000.01616.33
7.3.200.0100.00716.50
7.3.190.0030.01416.33
7.3.180.0080.00816.54
7.3.170.0060.00916.27
7.3.160.0090.00616.44
7.3.10.0080.00816.23
7.3.00.0130.00816.31
7.2.330.0090.00916.30
7.2.320.0070.01816.54
7.2.310.0070.01016.33
7.2.300.0070.01416.48
7.2.290.0080.00816.47
7.2.130.0120.00716.38
7.2.120.0120.00616.38
7.2.110.0080.00916.50
7.2.100.0110.00516.32
7.2.90.0120.01116.73
7.2.80.0150.00516.57
7.2.70.0150.00316.58
7.2.60.0150.00516.67
7.2.50.0180.00616.42
7.2.40.0110.00616.58
7.2.30.0110.00716.33
7.2.20.0130.01016.46
7.2.10.0140.00816.79
7.2.00.0170.00417.26
7.1.250.0140.00215.36
7.1.200.0030.00915.65
7.1.100.0000.01518.00
7.1.70.0040.01116.98
7.1.60.0080.01519.36
7.1.50.0060.01516.64
7.1.00.0000.07722.36
7.0.200.0040.00416.85
7.0.60.0070.04719.91
7.0.50.0030.06017.87
7.0.40.0100.08320.09
7.0.30.0330.04320.30
7.0.20.0270.05720.23
7.0.10.0070.08720.19
7.0.00.0030.04020.23
5.6.280.0000.06720.84
5.6.210.0200.05720.64
5.6.200.0030.08718.17
5.6.190.0100.03720.47
5.6.180.0330.04320.50
5.6.170.0270.04020.51
5.6.160.0130.07720.43
5.6.150.0100.07318.14
5.6.140.0070.04318.14
5.6.130.0030.05018.17
5.6.120.0100.04720.98
5.6.110.0130.05721.06
5.6.100.0170.07320.89
5.6.90.0030.04021.11
5.6.80.0070.07720.53
5.5.350.4170.04320.37
5.5.340.0030.05718.02
5.5.330.0070.05020.38
5.5.320.0000.04720.30
5.5.310.0270.05320.21
5.5.300.0100.05017.95
5.5.290.0070.08017.98
5.5.280.0100.07720.80
5.5.270.0030.04320.77
5.5.260.0030.07320.79
5.5.250.0030.05720.58
5.5.240.0270.04020.23

preferences:
78.57 ms | 401 KiB | 5 Q