3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = 5; $b = &$a; $c = ++$a; $d = $b++; echo $c.$d;

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.4.20.0160.00317.63
8.4.10.0080.00017.48
8.3.150.0130.00720.64
8.3.140.0000.01017.01
8.3.130.0040.00418.45
8.3.120.0090.00020.91
8.3.110.0090.00620.94
8.3.100.0080.00024.06
8.3.90.0200.00026.77
8.3.80.0040.00416.75
8.3.70.0070.01016.63
8.3.60.0180.00318.31
8.3.50.0100.01121.90
8.3.40.0090.00618.68
8.3.30.0110.00418.92
8.3.20.0000.00720.21
8.3.10.0040.00423.56
8.3.00.0040.00422.44
8.2.260.0060.00320.58
8.2.250.0160.00317.16
8.2.240.0060.00316.97
8.2.230.0090.00022.58
8.2.220.0090.00037.54
8.2.210.0000.00726.77
8.2.200.0060.00316.38
8.2.190.0090.00916.63
8.2.180.0060.00918.04
8.2.170.0160.00318.87
8.2.160.0070.01022.96
8.2.150.0030.00624.18
8.2.140.0070.00424.66
8.2.130.0040.00426.16
8.2.120.0050.00319.67
8.2.110.0060.00319.39
8.2.100.0080.00418.03
8.2.90.0050.00317.61
8.2.80.0000.00817.97
8.2.70.0000.00818.04
8.2.60.0040.00818.03
8.2.50.0000.00818.07
8.2.40.0040.00419.66
8.2.30.0080.00017.65
8.2.20.0070.00017.73
8.2.10.0070.00017.71
8.2.00.0040.00417.71
8.1.310.0040.01118.64
8.1.300.0030.00616.03
8.1.290.0060.00318.88
8.1.280.0100.00725.92
8.1.270.0050.00323.99
8.1.260.0040.00426.35
8.1.250.0060.00328.09
8.1.240.0090.00023.73
8.1.230.0090.00320.98
8.1.220.0080.00017.79
8.1.210.0050.00319.23
8.1.200.0060.00317.35
8.1.190.0040.00417.10
8.1.180.0060.00618.10
8.1.170.0050.00318.76
8.1.160.0040.00418.91
8.1.150.0040.00418.52
8.1.140.0040.00417.35
8.1.130.0080.00017.72
8.1.120.0040.00417.43
8.1.110.0000.00717.38
8.1.100.0040.00417.26
8.1.90.0080.00017.37
8.1.80.0040.00417.31
8.1.70.0040.00417.32
8.1.60.0030.00517.44
8.1.50.0090.00017.32
8.1.40.0000.00717.31
8.1.30.0060.00317.66
8.1.20.0040.00417.54
8.1.10.0030.00617.46
8.1.00.0000.01017.48
8.0.300.0080.00019.80
8.0.290.0040.00416.75
8.0.280.0050.00218.43
8.0.270.0000.00716.76
8.0.260.0030.00316.67
8.0.250.0030.00316.94
8.0.240.0030.00316.95
8.0.230.0030.00316.95
8.0.220.0070.00016.79
8.0.210.0000.00716.86
8.0.200.0000.00716.82
8.0.190.0030.00616.93
8.0.180.0000.00716.78
8.0.170.0050.00316.81
8.0.160.0080.00016.99
8.0.150.0030.00316.84
8.0.140.0000.00816.80
8.0.130.0040.00413.27
8.0.120.0060.00316.82
8.0.110.0000.00816.74
8.0.100.0040.00416.89
8.0.90.0070.00016.88
8.0.80.0090.01316.79
8.0.70.0050.00316.87
8.0.60.0040.00416.86
8.0.50.0050.00316.88
8.0.30.0130.00616.86
8.0.20.0100.00817.40
8.0.10.0080.00016.95
8.0.00.0140.00816.83
7.4.330.0050.00015.00
7.4.320.0070.00016.48
7.4.300.0030.00316.57
7.4.290.0050.00216.52
7.4.280.0030.00316.56
7.4.270.0030.00316.57
7.4.260.0070.00016.50
7.4.250.0030.00616.53
7.4.240.0030.00416.49
7.4.230.0070.00016.21
7.4.220.0060.01216.38
7.4.210.0050.01216.50
7.4.200.0000.00716.34
7.4.190.0030.00316.64
7.4.160.0060.01316.30
7.4.150.0170.00017.40
7.4.140.0120.00517.86
7.4.130.0090.00916.46
7.4.120.0100.00716.57
7.4.110.0120.00616.55
7.4.100.0070.01716.42
7.4.90.0100.00716.40
7.4.80.0180.00616.25
7.4.70.0030.01316.31
7.4.60.0130.00516.42
7.4.50.0000.00816.23
7.4.40.0000.01722.77
7.4.30.0180.00316.41
7.4.10.0070.01114.82
7.4.00.0100.00614.96
7.3.330.0000.00613.13
7.3.320.0000.00513.12
7.3.310.0070.00016.34
7.3.300.0030.00316.11
7.3.290.0080.00916.21
7.3.280.0080.01116.23
7.3.270.0060.01117.40
7.3.260.0090.00916.27
7.3.250.0110.00816.45
7.3.240.0070.01416.17
7.3.230.0090.00916.54
7.3.210.0150.00416.37
7.3.200.0120.00619.39
7.3.190.0110.00516.34
7.3.180.0100.00616.20
7.3.170.0080.00816.43
7.3.160.0040.01116.25
7.3.130.0090.00914.66
7.3.120.0090.00614.90
7.3.110.0030.01714.78
7.3.100.0120.00314.56
7.3.90.0070.01014.92
7.3.80.0070.00414.77
7.3.70.0030.01014.88
7.3.60.0000.01214.88
7.3.50.0070.01014.79
7.3.40.0070.01014.46
7.3.30.0000.01014.74
7.3.20.0000.01416.73
7.3.10.0060.00616.45
7.3.00.0060.00316.36
7.2.330.0180.00016.61
7.2.320.0130.00316.77
7.2.310.0100.01316.70
7.2.300.0090.00916.66
7.2.290.0120.00916.29
7.2.260.0080.01114.52
7.2.250.0000.01715.09
7.2.240.0070.00714.79
7.2.230.0060.00915.26
7.2.220.0070.01415.24
7.2.210.0030.00715.18
7.2.200.0040.00415.11
7.2.190.0100.00315.05
7.2.180.0030.01314.94
7.2.170.0000.01015.03
7.2.160.0060.00914.85
7.2.150.0070.00716.93
7.2.140.0100.00316.74
7.2.130.0030.00716.66
7.2.120.0090.00916.87
7.2.110.0040.00716.86
7.2.100.0060.00316.89
7.2.90.0060.01216.76
7.2.80.0060.00916.70
7.2.70.0100.00716.91
7.2.60.0080.00616.97
7.2.50.0070.01116.78
7.2.40.0000.01416.98
7.2.30.0060.00616.88
7.2.20.0030.00716.74
7.2.10.0070.00717.08
7.2.00.0070.00716.90
7.1.330.0000.00815.74
7.1.320.0070.01315.39
7.1.310.0060.00715.67
7.1.300.0040.00415.41
7.1.290.0030.00915.39
7.1.280.0040.00715.67
7.1.270.0000.00915.79
7.1.260.0030.00615.51
7.1.250.0030.01015.64
7.1.240.0040.01115.56
7.1.230.0120.00415.60
7.1.220.0120.00015.73
7.1.210.0070.00715.37
7.1.200.0080.00515.54
7.1.190.0030.00915.65
7.1.180.0080.00615.70
7.1.170.0080.00015.78
7.1.160.0070.00315.70
7.1.150.0000.01015.78
7.1.140.0060.00615.65
7.1.130.0140.00015.42
7.1.120.0070.00715.67
7.1.110.0000.01115.82
7.1.100.0070.00315.45
7.1.90.0040.01115.67
7.1.80.0110.00415.46
7.1.70.0040.00716.26
7.1.60.0020.01617.57
7.1.50.0110.01225.27
7.1.40.0000.01515.64
7.1.30.0060.01015.56
7.1.20.0070.01115.83
7.1.10.0000.00915.66
7.1.00.0080.04019.16
7.0.330.0120.00315.18
7.0.320.0000.01415.39
7.0.310.0060.01015.14
7.0.300.0030.00915.40
7.0.290.0060.00615.35
7.0.280.0030.00615.15
7.0.270.0030.00915.06
7.0.260.0030.00715.39
7.0.250.0070.00715.48
7.0.240.0080.00815.25
7.0.230.0120.00315.52
7.0.220.0100.00715.46
7.0.210.0000.00915.48
7.0.200.0050.01016.09
7.0.190.0090.00615.14
7.0.180.0070.00415.43
7.0.170.0120.00015.46
7.0.160.0070.00715.42
7.0.150.0030.01415.20
7.0.140.0090.03518.68
7.0.130.0040.00815.50
7.0.120.0000.00815.46
7.0.110.0040.01015.45
7.0.100.0030.00915.14
7.0.90.0040.01115.47
7.0.80.0060.00915.30
7.0.70.0020.04618.57
7.0.60.0020.04818.70
7.0.50.0020.04818.83
7.0.40.0030.04316.73
7.0.30.0030.04616.79
7.0.20.0050.04116.76
7.0.10.0020.04616.73
7.0.00.0050.02416.74
5.6.400.0000.01014.60
5.6.390.0100.00014.31
5.6.380.0030.01214.18
5.6.370.0100.01014.52
5.6.360.0060.00314.12
5.6.350.0040.01114.25
5.6.340.0080.00014.63
5.6.330.0040.00414.10
5.6.320.0040.00713.96
5.6.310.0000.01414.35
5.6.300.0030.01014.52
5.6.290.0040.01114.28
5.6.280.0050.04017.75
5.6.270.0070.00714.23
5.6.260.0040.00714.41
5.6.250.0060.00614.38
5.6.240.0080.00414.46
5.6.230.0000.01714.32
5.6.220.0020.02917.43
5.6.210.0080.04317.37
5.6.200.0110.02017.51
5.6.190.0050.02517.80
5.6.180.0060.02317.64
5.6.170.0050.04517.59
5.6.160.0130.02317.67
5.6.150.0020.02817.56
5.6.140.0030.03817.55
5.6.130.0050.04617.73
5.6.120.0110.02717.68
5.6.110.0060.04317.76
5.6.100.0060.04017.65
5.6.90.0030.02917.56
5.6.80.0050.04517.32
5.6.70.0050.04017.48
5.6.60.0020.04417.41
5.6.50.0050.04117.24
5.6.40.0050.04117.29
5.6.30.0080.04217.36
5.6.20.0030.03617.29
5.6.10.0070.04017.29
5.6.00.0080.04317.42
5.5.380.0030.01014.09
5.5.370.0040.01213.99
5.5.360.0040.04517.33
5.5.350.0050.03017.24
5.5.340.0030.02717.57
5.5.330.0080.04517.52
5.5.320.0020.02917.39
5.5.310.0080.04517.52
5.5.300.0170.03717.44
5.5.290.0100.04017.58
5.5.280.0110.04317.53
5.5.270.0040.03617.53
5.5.260.0050.04417.52
5.5.250.0000.03717.38
5.5.240.0030.03517.26
5.5.230.0030.04717.41
5.5.220.0060.04117.20
5.5.210.0110.03717.17
5.5.200.0020.04817.08
5.5.190.0040.04217.26
5.5.180.0030.03517.23
5.5.170.0060.00814.18
5.5.160.0000.03617.23
5.5.150.0080.02017.28
5.5.140.0030.02717.08
5.5.130.0040.04417.21
5.5.120.0050.02917.14
5.5.110.0100.03616.95
5.5.100.0070.04317.02
5.5.90.0030.03517.24
5.5.80.0050.04417.12
5.5.70.0050.04217.10
5.5.60.0020.03717.14
5.5.50.0030.03717.17
5.5.40.0070.04017.19
5.5.30.0050.03817.14
5.5.20.0050.04316.84
5.5.10.0000.04316.92
5.5.00.0070.04216.93
5.4.450.0070.04315.79
5.4.440.0050.04515.78
5.4.430.0050.04615.67
5.4.420.0020.04515.83
5.4.410.0080.03615.69
5.4.400.0030.02815.51
5.4.390.0050.02315.50
5.4.380.0000.04215.50
5.4.370.0020.04415.67
5.4.360.0030.03715.68
5.4.350.0050.03915.55
5.4.340.0020.03715.63
5.4.330.0050.00512.21
5.4.320.0010.04615.50
5.4.310.0000.02815.62
5.4.300.0040.03015.51
5.4.290.0030.02915.65
5.4.280.0040.04415.63
5.4.270.0050.04315.62
5.4.260.0030.04115.59
5.4.250.0080.02715.65
5.4.240.0020.03915.55
5.4.230.0030.04315.63
5.4.220.0030.02715.72
5.4.210.0020.04515.63
5.4.200.0000.04515.62
5.4.190.0040.03215.65
5.4.180.0080.03815.63
5.4.170.0080.03615.73
5.4.160.0120.02515.50
5.4.150.0020.04415.67
5.4.140.0080.03514.17
5.4.130.0070.03714.28
5.4.120.0040.03414.27
5.4.110.0020.02714.33
5.4.100.0050.04014.28
5.4.90.0030.04314.29
5.4.80.0020.04314.21
5.4.70.0000.04014.25
5.4.60.0050.03014.30
5.4.50.0040.02314.29
5.4.40.0080.02214.25
5.4.30.0050.03714.24
5.4.20.0000.02614.27
5.4.10.0000.04414.24
5.4.00.0000.04213.96
5.3.290.0020.03813.41
5.3.280.0050.03613.40
5.3.270.0000.04113.38
5.3.260.0070.04013.34
5.3.250.0090.02713.41
5.3.240.0020.04413.33
5.3.230.0030.03113.31
5.3.220.0050.03913.30
5.3.210.0000.04013.37
5.3.200.0010.03613.29
5.3.190.0050.03913.37
5.3.180.0060.03613.38
5.3.170.0020.04213.35
5.3.160.0090.03513.34
5.3.150.0050.02413.38
5.3.140.0040.02713.38
5.3.130.0070.02513.37
5.3.120.0030.04013.36
5.3.110.0030.02313.38
5.3.100.0010.02813.03
5.3.90.0060.03613.02
5.3.80.0060.03613.11
5.3.70.0080.03313.10
5.3.60.0050.03713.11
5.3.50.0020.04213.08
5.3.40.0030.03913.07
5.3.30.0050.03613.06
5.3.20.0020.04212.88
5.3.10.0030.03212.92
5.3.00.0030.02312.80
5.2.170.0000.06712.22
5.2.160.0070.05712.22
5.2.150.0100.04012.22
5.2.140.0000.05312.22
5.2.130.0030.06012.22
5.2.120.0000.06312.22
5.2.110.0030.03712.22
5.2.100.0000.06312.22
5.2.90.0030.05712.22
5.2.80.0000.06312.22
5.2.70.0000.04312.22
5.2.60.0070.05312.22
5.2.50.0000.06012.22
5.2.40.0100.05312.22
5.2.30.0030.05312.22
5.2.20.0070.06012.22
5.2.10.0070.03312.22
5.2.00.0030.03312.22
5.1.60.0030.05312.22
5.1.50.0000.04712.22
5.1.40.0000.04012.22
5.1.30.0100.03012.22
5.1.20.0000.04312.22
5.1.10.0000.05012.22
5.1.00.0070.05312.22
5.0.50.0000.03312.22
5.0.40.0030.03312.22
5.0.30.0030.05312.22
5.0.20.0030.04012.22
5.0.10.0000.04312.22
5.0.00.0070.06312.22
4.4.90.0030.03012.22
4.4.80.0000.03712.22
4.4.70.0030.02312.22
4.4.60.0070.01312.22
4.4.50.0000.02012.22
4.4.40.0030.04312.22
4.4.30.0000.03012.22
4.4.20.0030.03312.22
4.4.10.0000.02712.22
4.4.00.0000.04012.22
4.3.110.0000.03712.22
4.3.100.0000.02312.22
4.3.90.0070.03012.22
4.3.80.0030.05012.22
4.3.70.0000.03012.22
4.3.60.0000.02312.22
4.3.50.0030.02012.22
4.3.40.0000.03012.22
4.3.30.0000.02312.22
4.3.20.0000.03712.22
4.3.10.0000.04012.22
4.3.00.0030.03312.22

preferences:
39.51 ms | 403 KiB | 5 Q