3v4l.org

run code in 300+ PHP versions simultaneously
<?php class somePhp4Crap { function somePhp4Crap() { // this is how we did constructors in php 4. note we have no visibility set because everything is public! } }

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.0070.01118.31
8.3.50.0070.01418.14
8.3.40.0040.01118.54
8.3.30.0110.00418.41
8.3.20.0000.00818.74
8.3.10.0030.00520.64
8.3.00.0080.00017.66
8.2.180.0090.00618.41
8.2.170.0140.00722.96
8.2.160.0070.00718.78
8.2.150.0070.00024.18
8.2.140.0000.00724.66
8.2.130.0040.00419.51
8.2.120.0000.00726.35
8.2.110.0060.00319.22
8.2.100.0130.00018.09
8.2.90.0020.00517.38
8.2.80.0080.00018.48
8.2.70.0000.00817.67
8.2.60.0040.00417.91
8.2.50.0080.00018.10
8.2.40.0000.00719.26
8.2.30.0050.00219.22
8.2.20.0080.00017.83
8.2.10.0000.00817.93
8.2.00.0070.00019.18
8.1.280.0150.00025.92
8.1.270.0000.00823.96
8.1.260.0040.00426.35
8.1.250.0050.00328.09
8.1.240.0090.00023.96
8.1.230.0040.00820.91
8.1.220.0040.00418.46
8.1.210.0040.00418.90
8.1.200.0040.00417.22
8.1.190.0060.00316.97
8.1.180.0000.00718.10
8.1.170.0080.00018.66
8.1.160.0040.00418.81
8.1.150.0050.00318.75
8.1.140.0040.00417.61
8.1.130.0000.00718.92
8.1.120.0030.01117.39
8.1.110.0040.00417.30
8.1.100.0000.00717.30
8.1.90.0040.00417.35
8.1.80.0030.00317.34
8.1.70.0030.00517.29
8.1.60.0000.00817.32
8.1.50.0080.00017.39
8.1.40.0000.00717.40
8.1.30.0040.00417.49
8.1.20.0050.00317.38
8.1.10.0000.00717.40
8.1.00.0050.00317.28
8.0.300.0020.00519.91
8.0.290.0040.00416.75
8.0.280.0000.00718.30
8.0.270.0000.00717.12
8.0.260.0030.00317.13
8.0.250.0030.00316.69
8.0.240.0000.00816.80
8.0.230.0070.00016.84
8.0.220.0030.00316.71
8.0.210.0000.00616.80
8.0.200.0030.00316.83
8.0.190.0070.00016.83
8.0.180.0030.00716.75
8.0.170.0040.00416.70
8.0.160.0040.00416.77
8.0.150.0000.00716.58
8.0.140.0040.00416.57
8.0.130.0000.00613.12
8.0.120.0040.00416.61
8.0.110.0000.00816.60
8.0.100.0070.00016.65
8.0.90.0000.00716.79
8.0.80.0050.01116.69
8.0.70.0040.00416.58
8.0.60.0070.00016.79
8.0.50.0040.00416.64
8.0.30.0070.01216.95
8.0.20.0100.00817.40
8.0.10.0030.00316.77
8.0.00.0110.00616.57
7.4.330.0020.00215.55
7.4.320.0090.00016.45
7.4.300.0000.00616.46
7.4.290.0040.00416.45
7.4.280.0020.00516.37
7.4.270.0080.00016.46
7.4.260.0060.00316.39
7.4.250.0040.00416.22
7.4.240.0070.00016.33
7.4.230.0030.00316.56
7.4.220.0000.00916.34
7.4.210.0050.01116.43
7.4.200.0000.00716.52
7.4.160.0110.00816.44
7.4.140.0140.00917.86
7.4.130.0130.00416.32
7.4.120.0150.00516.38
7.4.110.0160.00016.50
7.4.100.0130.00316.32
7.4.90.0130.01016.49
7.4.80.0110.00719.39
7.4.70.0050.01116.26
7.4.60.0100.00616.27
7.4.50.0120.00316.14
7.4.40.0120.00616.48
7.4.00.0080.00814.93
7.3.330.0030.00313.30
7.3.320.0030.00313.30
7.3.310.0000.00716.12
7.3.300.0060.00016.18
7.3.290.0000.00616.22
7.3.280.0070.01016.23
7.3.260.0080.00916.27
7.3.240.0080.00916.27
7.3.230.0060.01016.49
7.3.210.0140.00316.38
7.3.200.0000.01516.34
7.3.190.0000.01716.52
7.3.180.0060.00916.33
7.3.170.0120.00616.27
7.3.160.0070.01116.46
7.3.120.0080.00814.69
7.3.110.0070.00914.63
7.3.100.0070.00814.47
7.3.90.0100.00614.83
7.3.80.0050.00814.63
7.3.70.0050.00814.70
7.3.60.0060.00814.52
7.3.50.0020.01014.73
7.3.40.0050.00714.63
7.3.30.0090.00214.66
7.3.20.0050.00616.40
7.3.10.0080.00516.53
7.3.00.0000.01116.46
7.2.330.0150.00616.32
7.2.320.0130.00316.33
7.2.310.0120.00616.25
7.2.300.0120.00916.13
7.2.290.0170.00616.24
7.2.250.0070.01315.02
7.2.240.0080.01014.84
7.2.230.0060.01115.07
7.2.220.0060.00614.92
7.2.210.0060.00814.70
7.2.200.0090.00714.79
7.2.190.0040.01014.90
7.2.180.0120.00214.87
7.2.170.0030.01214.78
7.2.160.0030.01214.98
7.2.150.0100.00316.62
7.2.140.0040.00816.62
7.2.130.0030.01016.60
7.2.120.0040.00716.48
7.2.110.0070.00716.67
7.2.100.0030.01016.55
7.2.90.0070.00716.76
7.2.80.0030.00616.89
7.2.70.0060.01016.80
7.2.60.1090.00715.92
7.2.50.1180.00915.70
7.2.40.1030.01015.92
7.2.30.1150.01316.06
7.2.20.1090.00615.96
7.2.10.1130.00816.08
7.2.00.1290.01416.03
7.1.330.0080.00715.58
7.1.320.0050.00815.43
7.1.310.0030.01315.76
7.1.300.0060.00615.64
7.1.290.0070.00415.45
7.1.280.0060.00315.44
7.1.270.0030.01115.64
7.1.260.0060.00815.58
7.1.250.0000.01315.59
7.1.200.0060.00615.50
7.1.170.2190.01113.55
7.1.160.2360.00916.62
7.1.150.2270.00816.86
7.1.140.2330.01016.92
7.1.130.2170.01016.64
7.1.120.2040.01116.59
7.1.110.2050.00916.14
7.1.100.2160.01115.80
7.1.90.2420.01315.69
7.1.80.2450.01415.83
7.1.70.2270.01115.07
7.1.60.2900.01333.32
7.1.50.2620.01732.85
7.1.40.2950.02132.35
7.1.30.2880.01732.43
7.1.20.2660.02032.63
7.1.10.2790.01014.47
7.1.00.2350.01114.57

preferences:
51.54 ms | 401 KiB | 5 Q