3v4l.org

run code in 300+ PHP versions simultaneously
<?php $w = 'wonderous'; $z = 'a thing of beauty is ' . strtoupper($w); $o = new stdClass; $o->p = $z; echo "{$o->p}\n"; echo $o->p,"\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.0080.00816.38
8.3.50.0140.01021.28
8.3.40.0110.00418.71
8.3.30.0060.00918.85
8.3.20.0040.00420.33
8.3.10.0040.00423.65
8.3.00.0070.00023.48
8.2.180.0150.00618.16
8.2.170.0170.00022.96
8.2.160.0100.00320.53
8.2.150.0080.00024.18
8.2.140.0050.00324.66
8.2.130.0040.00419.83
8.2.120.0040.00426.35
8.2.110.0030.00622.18
8.2.100.0080.00317.92
8.2.90.0050.00319.27
8.2.80.0050.00317.97
8.2.70.0060.00317.63
8.2.60.0030.00618.04
8.2.50.0000.00818.07
8.2.40.0000.00822.33
8.2.30.0040.00419.50
8.2.20.0050.00317.72
8.2.10.0000.00818.06
8.2.00.0000.00918.11
8.1.280.0070.00725.92
8.1.270.0060.00323.85
8.1.260.0000.00728.09
8.1.250.0040.00428.09
8.1.240.0060.00324.03
8.1.230.0050.00819.18
8.1.220.0050.00317.74
8.1.210.0000.00818.77
8.1.200.0100.00017.23
8.1.190.0000.00817.36
8.1.180.0060.00318.10
8.1.170.0030.00518.39
8.1.160.0000.00720.65
8.1.150.0040.00418.73
8.1.140.0040.00419.56
8.1.130.0030.00317.61
8.1.120.0040.00417.44
8.1.110.0000.00717.45
8.1.100.0000.00717.35
8.1.90.0000.00817.41
8.1.80.0000.00717.34
8.1.70.0000.00617.43
8.1.60.0040.00417.55
8.1.50.0050.00317.35
8.1.40.0080.00017.46
8.1.30.0040.00417.43
8.1.20.0000.00717.47
8.1.10.0000.00817.57
8.1.00.0040.00417.59
8.0.300.0040.00418.77
8.0.290.0050.00316.63
8.0.280.0030.00318.44
8.0.270.0000.00717.22
8.0.260.0000.00617.23
8.0.250.0030.00316.89
8.0.240.0030.00316.82
8.0.230.0030.00316.96
8.0.220.0030.00316.80
8.0.210.0030.00316.88
8.0.200.0030.00616.98
8.0.190.0040.00416.95
8.0.180.0080.00016.95
8.0.170.0040.00416.97
8.0.160.0030.00316.78
8.0.150.0070.00016.78
8.0.140.0040.00416.71
8.0.130.0050.00013.31
8.0.120.0060.00216.76
8.0.110.0040.00416.86
8.0.100.0040.00416.88
8.0.90.0040.00416.69
8.0.80.0070.01016.89
8.0.70.0040.00416.96
8.0.60.0000.00716.95
8.0.50.0070.00016.68
8.0.30.0080.01117.05
8.0.20.0110.01017.40
8.0.10.0030.00516.84
8.0.00.0060.01316.82
7.4.330.0050.00016.67
7.4.320.0060.00016.48
7.4.300.0030.00616.51
7.4.290.0060.00316.66
7.4.280.0030.00716.59
7.4.270.0000.00716.61
7.4.260.0030.00316.44
7.4.250.0000.00716.49
7.4.240.0020.00516.46
7.4.230.0030.00316.33
7.4.220.0090.01016.37
7.4.210.0140.00016.57
7.4.200.0040.00316.55
7.4.160.0060.00916.25
7.4.150.0100.01017.40
7.4.140.0120.00817.86
7.4.130.0120.00616.45
7.4.120.0110.01016.39
7.4.110.0140.00916.48
7.4.100.0080.00816.40
7.4.90.0070.01016.52
7.4.80.0030.01619.39
7.4.70.0040.01216.46
7.4.60.0080.00916.39
7.4.50.0060.01016.50
7.4.40.0130.00316.45
7.4.30.0070.01316.62
7.4.10.0060.01514.69
7.4.00.0080.00714.70
7.3.330.0050.00013.10
7.3.320.0040.00413.15
7.3.310.0040.00416.22
7.3.300.0040.00416.23
7.3.290.0020.01316.26
7.3.280.0090.00616.25
7.3.270.0150.00617.40
7.3.260.0090.00916.45
7.3.240.0090.00816.23
7.3.230.0140.00316.39
7.3.210.0100.01016.50
7.3.200.0070.01019.39
7.3.190.0070.01016.45
7.3.180.0060.01016.41
7.3.170.0080.01116.31
7.3.160.0070.01016.57
7.3.130.0160.00314.96
7.3.120.0070.01014.89
7.3.110.0090.01014.78
7.3.100.0110.00414.75
7.3.90.0030.00514.98
7.3.80.0060.00614.92
7.3.70.0040.01214.92
7.3.60.0090.00014.71
7.3.50.0090.00314.85
7.3.40.0060.00614.78
7.3.30.0150.00014.73
7.3.20.0070.00716.45
7.3.10.0070.00716.75
7.3.00.0000.01416.52
7.2.330.0100.01316.72
7.2.320.0070.01016.76
7.2.310.0090.00916.41
7.2.300.0100.01016.42
7.2.290.0130.00616.73
7.2.260.0140.00715.31
7.2.250.0000.01015.29
7.2.240.0000.01414.95
7.2.230.0110.00414.92
7.2.220.0060.00615.01
7.2.210.0030.01414.93
7.2.200.0070.01115.05
7.2.190.0100.00314.93
7.2.180.0040.01114.98
7.2.170.0060.00914.87
7.2.160.0060.00915.21
7.2.150.0090.00616.71
7.2.140.0030.00716.72
7.2.130.0030.01017.05
7.2.120.0030.01316.84
7.2.110.0040.01116.75
7.2.100.0060.00617.05
7.2.90.0040.00816.86
7.2.80.0070.00717.01
7.2.70.0080.00616.98
7.2.60.0030.00617.09
7.2.50.0000.01016.89
7.2.40.0060.01016.91
7.2.30.0060.00616.87
7.2.20.0040.01117.21
7.2.10.0040.01416.74
7.2.00.0060.00818.29
7.1.330.0060.00615.95
7.1.320.0100.00315.61
7.1.310.0070.01015.90
7.1.300.0030.00915.63
7.1.290.0100.00715.76
7.1.280.0000.00916.01
7.1.270.0000.01515.65
7.1.260.0070.00315.86
7.1.250.0030.00915.91
7.1.240.0080.00315.84
7.1.230.0030.01015.96
7.1.220.0090.00615.73
7.1.210.0070.00715.79
7.1.200.0020.01015.64
7.1.190.0040.01015.94
7.1.180.0100.00015.82
7.1.170.0070.00715.77
7.1.160.0070.01015.98
7.1.150.0050.00315.95
7.1.140.0040.01115.76
7.1.130.0060.00915.81
7.1.120.0120.00015.88
7.1.110.0110.00415.85
7.1.100.0060.00817.07
7.1.90.0070.00715.99
7.1.80.0030.00815.63
7.1.70.0070.00516.50
7.1.60.0100.00717.58
7.1.50.0070.00716.42
7.1.40.0000.01015.82
7.1.30.0140.00015.85
7.1.20.0040.00415.87
7.1.10.0080.00015.63
7.1.00.0030.03819.10
7.0.330.0060.00915.39
7.0.320.0040.00415.42
7.0.310.0110.00415.33
7.0.300.0000.00815.09
7.0.290.0000.01315.46
7.0.280.0030.00615.48
7.0.270.0100.00715.33
7.0.260.0030.01015.11
7.0.250.0130.00015.35
7.0.240.0100.00315.10
7.0.230.0030.01015.47
7.0.220.0040.00415.24
7.0.210.0070.00715.49
7.0.200.0040.00415.83
7.0.190.0030.00915.04
7.0.180.0030.01015.32
7.0.170.0060.00915.27
7.0.160.0030.00715.15
7.0.150.0070.00715.12
7.0.140.0030.00815.52
7.0.130.0030.00715.24
7.0.120.0070.00715.15
7.0.110.0120.00615.56
7.0.100.0000.00815.49
7.0.90.0070.00715.16
7.0.80.0070.00715.51
7.0.70.0070.00415.54
7.0.60.0120.01818.41
7.0.50.0100.03816.70
7.0.40.0070.02516.83
7.0.30.0170.03616.79
7.0.20.0200.04416.79
7.0.10.0030.04216.77
7.0.00.0130.03616.68
5.6.400.0030.00914.59
5.6.390.0060.00314.07
5.6.380.0070.00714.24
5.6.370.0080.00314.40
5.6.360.0070.01014.37
5.6.350.0070.00714.40
5.6.340.0040.00814.41
5.6.330.0150.00314.60
5.6.320.0040.00714.66
5.6.310.0030.00514.56
5.6.300.0040.00714.49
5.6.290.0030.00914.56
5.6.280.0050.01817.71
5.6.270.0080.00814.38
5.6.260.0060.00314.54
5.6.250.0000.01114.37
5.6.240.0080.00814.38
5.6.230.0000.01314.54
5.6.220.0100.00614.39
5.6.210.0030.05117.49
5.6.200.0050.04416.24
5.6.190.0050.03817.34
5.6.180.0300.03817.37
5.6.170.0120.03017.43
5.6.160.0070.04617.41
5.6.150.0040.04116.31
5.6.140.0050.03516.22
5.6.130.0090.04316.36
5.6.120.0140.03517.63
5.6.110.0050.04617.60
5.6.100.0070.04217.73
5.6.90.0080.03517.49
5.6.80.0070.04217.22
5.6.70.0030.01314.10
5.6.60.0100.00714.27
5.6.50.0120.00614.55
5.6.40.0070.00314.32
5.6.30.0060.00914.04
5.6.20.0030.00914.22
5.6.10.0030.01014.32
5.6.00.0030.00714.34
5.5.380.0110.00414.56
5.5.370.0000.00914.31
5.5.360.0060.01214.62
5.5.350.0110.04317.23
5.5.340.0090.04416.19
5.5.330.0030.02817.45
5.5.320.0150.04617.42
5.5.310.0100.02517.16
5.5.300.0120.03816.15
5.5.290.0060.02515.94
5.5.280.0110.03717.66
5.5.270.0080.02017.55
5.5.260.0040.04017.45
5.5.250.0090.03717.37
5.5.240.0070.04517.29
5.5.230.0030.00914.24
5.5.220.0030.01314.06
5.5.210.0050.00514.54
5.5.200.0030.00614.01
5.5.190.0060.00614.52
5.5.180.0000.00813.97
5.5.170.0060.00913.91
5.5.160.0070.00314.41
5.5.150.0000.01314.42
5.5.140.0060.00614.02
5.5.130.0040.01114.01
5.5.120.0000.01114.08
5.5.110.0000.01514.26
5.5.100.0070.00714.26
5.5.90.0140.00014.25
5.5.80.0030.00714.03
5.5.70.0000.01314.10
5.5.60.0110.00413.94
5.5.50.0030.01314.43
5.5.40.0070.01014.18
5.5.30.0070.01114.61
5.5.20.0100.00714.01
5.5.10.0000.01114.31
5.5.00.0040.00814.18

preferences:
48.6 ms | 401 KiB | 5 Q