3v4l.org

run code in 300+ PHP versions simultaneously
<?php // https://bugs.php.net/bug.php?id=71927 define('great','my'); $great='fantastic'; $my='my value'; echo "This is ", ${great }, "\n"; echo "This is ", ${ great}, "\n"; echo "This is ", ${ great }, "\n"; echo "This is ", ${great}, "\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.70.0150.00316.75
8.3.60.0070.00716.50
8.3.50.0140.00821.21
8.3.40.0150.00018.86
8.3.30.0030.01418.75
8.3.20.0080.00018.74
8.3.10.0080.00021.83
8.3.00.0050.00317.93
8.2.190.0040.01116.64
8.2.180.0170.00316.50
8.2.170.0040.01222.96
8.2.160.0140.00719.20
8.2.150.0000.00724.18
8.2.140.0070.00024.66
8.2.130.0000.00820.94
8.2.120.0030.00526.35
8.2.110.0100.00020.35
8.2.100.0110.00417.78
8.2.90.0040.00419.24
8.2.80.0030.00517.97
8.2.70.0060.00317.63
8.2.60.0060.00317.90
8.2.50.0080.00018.10
8.2.40.0040.00422.18
8.2.30.0040.00420.41
8.2.20.0000.00717.68
8.2.10.0080.00018.05
8.2.00.0080.00018.10
8.1.280.0140.00325.92
8.1.270.0040.00423.98
8.1.260.0030.00528.09
8.1.250.0090.00028.09
8.1.240.0090.00020.72
8.1.230.0090.00322.08
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0000.00817.35
8.1.190.0000.01117.23
8.1.180.0060.00318.10
8.1.170.0040.00418.70
8.1.160.0040.00419.01
8.1.150.0000.00718.88
8.1.140.0030.00519.57
8.1.130.0000.00717.45
8.1.120.0040.00417.41
8.1.110.0030.00517.41
8.1.100.0040.00417.34
8.1.90.0030.00517.42
8.1.80.0040.00417.52
8.1.70.0030.00517.37
8.1.60.0000.00917.63
8.1.50.0000.00817.57
8.1.40.0000.00817.48
8.1.30.0030.00617.55
8.1.20.0040.00417.52
8.1.10.0030.00517.53
8.1.00.0080.00317.45
8.0.300.0040.00419.89
8.0.290.0060.00316.75
8.0.280.0030.00318.36
8.0.270.0070.00017.30
8.0.260.0070.00016.80
8.0.250.0030.00316.79
8.0.240.0030.00316.89
8.0.230.0030.00316.84
8.0.220.0040.00416.84
8.0.210.0000.00716.93
8.0.200.0070.00016.97
8.0.190.0050.00316.97
8.0.180.0040.00416.92
8.0.170.0040.00416.79
8.0.160.0070.00016.88
8.0.150.0040.00416.89
8.0.140.0040.00416.77
8.0.130.0060.00013.30
8.0.120.0040.00416.84
8.0.110.0060.00316.87
8.0.100.0000.00816.85
8.0.90.0000.00716.73
8.0.80.0110.01116.89
8.0.70.0050.00216.94
8.0.60.0000.00716.80
8.0.50.0090.00016.89
8.0.30.0110.01017.06
8.0.20.0100.00917.42
8.0.10.0040.00416.80
8.0.00.0080.00916.88
7.4.330.0030.00315.08
7.4.320.0000.00716.48
7.4.300.0050.00316.47
7.4.290.0070.00016.63
7.4.280.0050.00316.59
7.4.270.0040.00416.59
7.4.260.0040.00416.50
7.4.250.0000.00716.35
7.4.240.0030.00316.59
7.4.230.0080.00016.64
7.4.220.0120.01016.61
7.4.210.0100.01016.53
7.4.200.0000.00716.57
7.4.160.0090.00616.51
7.4.150.0000.02117.40
7.4.140.0100.00817.86
7.4.130.0050.01216.51
7.4.120.0150.00716.48
7.4.110.0070.01016.29
7.4.100.0060.01216.55
7.4.90.0030.01816.45
7.4.80.0080.00819.39
7.4.70.0150.01816.43
7.4.60.0060.01016.39
7.4.50.0110.00416.50
7.4.40.0080.00816.52
7.4.30.0080.00816.48
7.4.00.0070.01014.89
7.3.330.0000.00513.09
7.3.320.0000.00512.94
7.3.310.0000.00716.20
7.3.300.0040.00416.05
7.3.290.0080.00816.08
7.3.280.0120.00616.09
7.3.270.0030.01317.40
7.3.260.0140.00316.48
7.3.250.0110.00916.25
7.3.240.0080.01416.23
7.3.230.0130.01016.43
7.3.210.0160.00316.13
7.3.200.0080.00819.39
7.3.190.0030.01216.34
7.3.180.0080.00716.23
7.3.170.0100.00516.20
7.3.160.0060.01216.38
7.3.10.0030.01016.33
7.3.00.0110.00516.41
7.2.330.0140.00316.52
7.2.320.0170.00716.50
7.2.310.0060.01616.30
7.2.300.0140.00616.61
7.2.290.0150.00616.65
7.2.130.0070.00516.81
7.2.120.0060.00616.75
7.2.110.0100.00316.46
7.2.100.0110.00516.58
7.2.90.0030.01016.78
7.2.80.0010.01116.65
7.2.70.0040.00916.76
7.2.60.0120.00016.51
7.2.50.0050.00816.76
7.2.40.0080.00716.72
7.2.30.0030.00616.58
7.2.20.0040.00917.01
7.2.10.0050.00916.97
7.2.00.0060.00617.73
7.1.250.0050.00515.74
7.1.200.0110.00015.84
7.1.100.0000.01417.88
7.1.70.0040.00416.95
7.1.60.0060.01919.12
7.1.00.0030.07722.48
7.0.200.0040.00716.41
7.0.60.0170.06019.85
7.0.50.0030.07020.37
7.0.40.0230.05320.33
7.0.30.0200.06320.32
7.0.20.0200.07020.19
7.0.10.0230.05720.42
7.0.00.0230.05320.34
5.6.280.0030.07320.90
5.6.210.0100.07320.71
5.6.200.0130.05721.05
5.6.190.0270.05321.05
5.6.180.0170.06021.05
5.6.170.0130.06321.15
5.6.160.0130.06721.15
5.6.150.0130.05721.11
5.6.140.0300.05721.05
5.6.130.0200.05721.01
5.6.120.0070.06321.14
5.6.110.0200.06021.14
5.6.100.0170.06721.00
5.6.90.0230.06021.07
5.6.80.0100.06720.54
5.6.70.0130.05720.52
5.6.60.0270.05720.49
5.6.50.0070.07020.42
5.6.40.0200.05020.39
5.6.30.0170.05320.45
5.6.20.0130.05720.54
5.6.10.0200.05720.50
5.6.00.0270.04720.50
5.5.350.3230.04320.45
5.5.340.0200.04720.84
5.5.330.0200.05720.91
5.5.320.0170.06020.93
5.5.310.0170.06020.68
5.5.300.0170.05720.86
5.5.290.0170.05720.69
5.5.280.0030.07020.97
5.5.270.0200.06020.87
5.5.260.0400.07020.99
5.5.250.0300.05720.67
5.5.240.0200.05320.21
5.5.230.0230.06020.30
5.5.220.0130.06320.20
5.5.210.0230.05020.32
5.5.200.0230.04320.33
5.5.190.0070.06320.22
5.5.180.0300.04720.33
5.5.160.0200.05320.20
5.5.150.0270.04320.18
5.5.140.0130.06020.23
5.5.130.0170.05320.27
5.5.120.0070.06320.13
5.5.110.0130.05020.22
5.5.100.0070.06020.09
5.5.90.0230.04720.16
5.5.80.0130.05720.14
5.5.70.0130.06020.16
5.5.60.0200.07020.12
5.5.50.0170.05020.14
5.5.40.0130.05320.14
5.5.30.0200.05020.12
5.5.20.0330.05320.12
5.5.10.0200.05020.03
5.5.00.0200.05719.95

preferences:
50.44 ms | 401 KiB | 5 Q