3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(urlencode(get_class(new class extends stdClass {}) . " some other string"));

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.0150.00016.50
8.3.50.0120.00521.93
8.3.40.0140.00018.70
8.3.30.0110.00318.59
8.3.20.0060.00320.34
8.3.10.0040.00423.66
8.3.00.0040.00419.25
8.2.180.0120.01218.16
8.2.170.0070.00722.96
8.2.160.0130.00020.35
8.2.150.0040.00424.18
8.2.140.0050.00324.66
8.2.130.0070.00417.50
8.2.120.0040.00426.35
8.2.110.0070.00319.18
8.2.100.0040.00817.60
8.2.90.0030.00618.04
8.2.80.0000.00819.34
8.2.70.0000.00817.50
8.2.60.0000.00817.25
8.2.50.0090.00017.55
8.2.40.0050.00219.17
8.2.30.0000.00820.50
8.2.20.0030.00617.60
8.2.10.0040.00417.89
8.2.00.0080.00017.86
8.1.280.0120.00625.92
8.1.270.0030.00623.90
8.1.260.0000.00828.09
8.1.250.0080.00028.09
8.1.240.0090.00019.39
8.1.230.0080.00320.64
8.1.220.0000.00817.74
8.1.210.0000.00818.77
8.1.200.0060.00317.28
8.1.190.0060.00317.10
8.1.180.0080.00018.10
8.1.170.0090.00018.54
8.1.160.0030.00621.91
8.1.150.0040.00418.74
8.1.140.0040.00419.46
8.1.130.0030.00317.37
8.1.120.0020.00517.27
8.1.110.0050.00317.28
8.1.100.0030.00617.41
8.1.90.0000.00717.26
8.1.80.0000.00717.39
8.1.70.0040.00417.27
8.1.60.0000.00817.47
8.1.50.0000.00817.45
8.1.40.0050.00317.33
8.1.30.0000.00817.54
8.1.20.0080.00017.51
8.1.10.0040.00417.47
8.1.00.0040.00417.32
8.0.300.0050.00320.04
8.0.290.0040.00416.75
8.0.280.0040.00418.43
8.0.270.0000.00717.19
8.0.260.0000.00716.84
8.0.250.0000.00716.84
8.0.240.0080.00016.85
8.0.230.0030.00316.96
8.0.220.0000.00716.79
8.0.210.0030.00316.83
8.0.200.0100.00016.89
8.0.190.0060.00316.95
8.0.180.0050.00316.90
8.0.170.0040.00416.71
8.0.160.0050.00216.85
8.0.150.0000.00816.79
8.0.140.0000.00716.71
8.0.130.0000.00613.18
8.0.120.0000.00816.80
8.0.110.0070.00016.73
8.0.100.0040.00416.86
8.0.90.0000.00716.80
8.0.80.0040.01616.81
8.0.70.0070.00016.78
8.0.60.0040.00416.77
8.0.50.0000.00716.72
8.0.30.0100.01017.10
8.0.20.0090.01017.40
8.0.10.0000.00717.02
8.0.00.0110.00716.70
7.4.330.0020.00215.08
7.4.320.0040.00416.53
7.4.300.0060.00016.34
7.4.290.0000.00716.44
7.4.280.0040.00416.52
7.4.270.0000.00616.51
7.4.260.0030.00316.50
7.4.250.0000.00816.48
7.4.240.0030.00416.51
7.4.230.0000.00816.63
7.4.220.0110.00616.52
7.4.210.0100.00716.57
7.4.200.0030.00316.46
7.4.160.0060.01016.61
7.4.150.0100.00717.40
7.4.140.0090.01217.86
7.4.130.0120.00616.54
7.4.120.0060.01216.54
7.4.110.0100.01116.46
7.4.100.0060.01216.36
7.4.90.0170.00016.52
7.4.80.0150.00619.39
7.4.70.0090.01316.38
7.4.60.0090.01216.64
7.4.50.0080.00016.32
7.4.40.0150.00316.30
7.4.30.0120.01316.38
7.4.00.0100.00814.90
7.3.330.0060.00013.21
7.3.320.0060.00013.22
7.3.310.0030.00316.34
7.3.300.0000.00616.22
7.3.290.0080.00816.20
7.3.280.0120.00416.21
7.3.270.0060.01317.40
7.3.260.0060.01216.16
7.3.240.0070.00916.38
7.3.230.0130.00316.46
7.3.210.0080.00816.23
7.3.200.0190.01016.39
7.3.190.0070.01016.29
7.3.180.0080.00816.32
7.3.170.0110.01116.49
7.3.160.0070.01316.59
7.3.120.0030.01114.70
7.3.110.0060.01214.70
7.3.100.0080.00914.60
7.3.90.0050.00914.44
7.3.80.0050.00614.80
7.3.70.0090.00514.78
7.3.60.0050.01014.68
7.3.50.0050.01014.84
7.3.40.0070.00714.62
7.3.30.0080.00714.77
7.3.20.0070.00716.46
7.3.10.0060.00816.58
7.3.00.0060.00816.63
7.2.330.0120.00616.55
7.2.320.0130.01016.74
7.2.310.0060.01016.44
7.2.300.0120.00916.41
7.2.290.0080.01216.37
7.2.250.0040.01215.04
7.2.240.0080.01014.86
7.2.230.0080.00714.84
7.2.220.0050.00914.79
7.2.210.0120.00514.88
7.2.200.0070.00914.95
7.2.190.0100.00614.61
7.2.180.0030.01014.91
7.2.170.0100.00414.69
7.2.160.0000.00915.10
7.2.150.0110.00716.81
7.2.140.0110.00716.57
7.2.130.0120.00316.74
7.2.120.0090.00316.90
7.2.110.0000.01316.73
7.2.100.0120.00316.63
7.2.90.0110.00416.70
7.2.80.0080.00416.93
7.2.70.0100.00616.61
7.2.60.0070.00816.52
7.2.50.0030.00716.82
7.2.40.0060.00916.95
7.2.30.0080.00316.87
7.2.20.0090.00016.56
7.2.10.0090.00616.88
7.2.00.0030.01218.02
7.1.330.0080.00815.52
7.1.320.0070.00415.67
7.1.310.0030.00915.60
7.1.300.0050.01015.45
7.1.290.0030.00815.68
7.1.280.0090.00415.66
7.1.270.0070.00715.47
7.1.260.0000.01215.62
7.1.250.0030.01015.70
7.1.240.0120.00315.55
7.1.230.0000.01515.32
7.1.220.0100.00315.64
7.1.210.0060.00915.58
7.1.200.0060.00515.67
7.1.190.0040.00815.76
7.1.180.0080.00715.70
7.1.170.0030.01015.36
7.1.160.0000.01115.79
7.1.150.0030.01015.68
7.1.140.0040.01115.70
7.1.130.0040.00715.46
7.1.120.0110.00015.63
7.1.110.0070.01015.55
7.1.100.0020.00816.79
7.1.90.0030.00615.88
7.1.80.0030.01315.81
7.1.70.0100.00216.31
7.1.60.0070.01017.48
7.1.50.0110.00516.32
7.1.40.0090.00415.74
7.1.30.0090.00615.75
7.1.20.0120.00015.79
7.1.10.0040.00415.74
7.1.00.0020.04418.99
7.0.330.0110.00415.39
7.0.320.0030.00715.23
7.0.310.0000.01115.16
7.0.300.0000.01415.28
7.0.290.0030.00615.29
7.0.280.0000.00815.32
7.0.270.0060.00615.46
7.0.260.0070.00715.04
7.0.250.0120.00315.36
7.0.240.0040.01215.47
7.0.230.0070.01015.32
7.0.220.0000.01415.20
7.0.210.0060.00615.55
7.0.200.0060.00414.84
7.0.190.0060.00615.35
7.0.180.0100.00315.35
7.0.170.0110.00015.28
7.0.160.0000.01315.18
7.0.150.0040.00415.38
7.0.140.0060.01015.30
7.0.130.0060.00515.24
7.0.120.0050.00515.41
7.0.110.0080.00415.28
7.0.100.0060.00915.15
7.0.90.0060.00615.42
7.0.80.0030.00915.25
7.0.70.0060.00615.24
7.0.60.0080.04317.72
7.0.50.0060.04516.58
7.0.40.0050.03516.77
7.0.30.0250.04316.70
7.0.20.0190.04416.76
7.0.10.0100.02816.82
7.0.00.0060.04616.82
5.6.400.0000.01114.11
5.6.390.0000.00814.18
5.6.380.0060.00913.84
5.6.370.0040.00714.38
5.6.360.0030.01014.06
5.6.350.0100.00314.34
5.6.340.0100.00014.31
5.6.330.0050.00314.02
5.6.320.0120.00314.00
5.6.310.0100.00314.14
5.6.300.0060.00613.92
5.6.290.0060.00614.14
5.6.280.0040.03517.49
5.6.270.0040.01114.34
5.6.260.0060.00613.94
5.6.250.0030.01014.06
5.6.240.0060.00914.03
5.6.230.0130.00314.09
5.6.220.0080.00613.92
5.6.210.0050.04817.27
5.6.200.0030.04816.21
5.6.190.0100.03117.54
5.6.180.0240.03717.36
5.6.170.0230.03917.31
5.6.160.0020.05017.23
5.6.150.0090.04416.25
5.6.140.0120.03916.06
5.6.130.0180.03616.16
5.6.120.0100.04117.69
5.6.110.0080.04717.67
5.6.100.0080.04317.53
5.6.90.0100.04217.62
5.6.80.0080.03517.22
5.6.70.0090.00613.82
5.6.60.0060.01213.90
5.6.50.0110.00314.20
5.6.40.0100.00014.04
5.6.30.0130.00314.14
5.6.20.0030.00914.09
5.6.10.0100.00314.23
5.6.00.0030.00814.08
5.5.380.0090.00613.95
5.5.370.0060.00614.03
5.5.360.0080.00814.17
5.5.350.2220.02517.29
5.5.340.0050.04016.01
5.5.330.0100.04317.07
5.5.320.0330.03617.24
5.5.310.0260.01717.09
5.5.300.0080.04315.86
5.5.290.0050.03516.21
5.5.280.0050.02917.28
5.5.270.0070.02217.49
5.5.260.0060.03917.47
5.5.250.0080.03417.38
5.5.240.0030.02117.16
5.5.230.0000.01313.77
5.5.220.0090.00914.06
5.5.210.0060.00613.79
5.5.200.0040.00714.00
5.5.190.0070.00713.82
5.5.180.0000.00813.92
5.5.170.0030.00613.74
5.5.160.0160.00313.61
5.5.150.0100.01014.09
5.5.140.0030.01413.79
5.5.130.0060.01314.11
5.5.120.0110.00614.14
5.5.110.0100.00714.15
5.5.100.0090.00613.71
5.5.90.0070.01114.11
5.5.80.0030.00614.13
5.5.70.0000.01514.07
5.5.60.0030.01213.82
5.5.50.0000.00914.18
5.5.40.0060.00614.14
5.5.30.0080.00414.09
5.5.20.0040.01113.69
5.5.10.0000.00813.77
5.5.00.0000.00813.71

preferences:
87.88 ms | 401 KiB | 5 Q