3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(E_ALL); ini_set('display_errors',1); class c{ function c(){echo "c";} } $c= new c();

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.10.0120.00317.54
8.3.140.0110.00717.11
8.3.130.0040.00418.17
8.3.120.0080.00020.51
8.3.110.0130.00316.65
8.3.100.0030.00624.06
8.3.90.0040.00426.77
8.3.80.0070.00416.25
8.3.70.0120.00318.31
8.3.60.0110.00418.18
8.3.50.0110.00721.08
8.3.40.0120.00318.35
8.3.30.0160.00318.59
8.3.20.0000.00720.33
8.3.10.0040.00421.59
8.3.00.0040.00420.94
8.2.250.0040.01118.38
8.2.240.0130.00617.04
8.2.230.0060.00320.94
8.2.220.0070.00337.54
8.2.210.0040.00426.77
8.2.200.0030.00616.63
8.2.190.0130.00916.88
8.2.180.0080.00816.63
8.2.170.0140.00718.94
8.2.160.0110.00419.04
8.2.150.0030.00625.66
8.2.140.0080.00024.66
8.2.130.0030.00526.16
8.2.120.0040.00421.07
8.2.110.0060.00322.28
8.2.100.0110.00017.84
8.2.90.0000.00817.72
8.2.80.0030.00617.97
8.2.70.0080.00018.04
8.2.60.0030.00518.22
8.2.50.0100.00018.10
8.2.40.0030.00519.30
8.2.30.0000.00717.98
8.2.20.0030.00617.59
8.2.10.0080.00017.92
8.2.00.0040.00417.86
8.1.300.0030.00515.98
8.1.290.0040.00430.84
8.1.280.0030.01425.92
8.1.270.0040.00423.99
8.1.260.0080.00026.35
8.1.250.0000.00828.09
8.1.240.0060.00322.03
8.1.230.0070.00720.87
8.1.220.0040.00417.74
8.1.210.0060.00318.77
8.1.200.0060.00317.22
8.1.190.0050.00317.10
8.1.180.0060.00318.10
8.1.170.0000.00818.27
8.1.160.0050.00318.82
8.1.150.0050.00218.93
8.1.140.0040.00419.56
8.1.130.0030.00317.29
8.1.120.0040.00417.39
8.1.110.0000.00717.27
8.1.100.0030.00517.32
8.1.90.0040.00417.36
8.1.80.0000.00717.28
8.1.70.0000.00717.32
8.1.60.0050.00317.42
8.1.50.0040.00417.49
8.1.40.0000.00817.35
8.1.30.0030.00517.52
8.1.20.0030.00617.63
8.1.10.0000.00817.36
8.1.00.0080.00017.43
8.0.300.0060.00320.16
8.0.290.0030.00616.75
8.0.280.0030.00318.25
8.0.270.0000.00716.82
8.0.260.0050.00316.79
8.0.250.0030.00316.89
8.0.240.0000.00716.88
8.0.230.0020.00516.93
8.0.220.0030.00316.73
8.0.210.0000.00716.82
8.0.200.0080.00016.90
8.0.190.0030.00516.91
8.0.180.0070.00016.82
8.0.170.0000.00816.82
8.0.160.0030.00316.84
8.0.150.0000.00716.79
8.0.140.0070.00016.68
8.0.130.0030.00313.23
8.0.120.0050.00316.76
8.0.110.0000.00716.71
8.0.100.0040.00416.89
8.0.90.0040.00416.78
8.0.80.0070.01016.81
8.0.70.0040.00416.71
8.0.60.0000.00716.78
8.0.50.0040.00416.88
8.0.30.0070.00816.96
8.0.20.0080.01017.24
8.0.10.0100.00816.95
8.0.00.0110.00716.74
7.4.330.0050.00015.08
7.4.320.0030.00316.43
7.4.300.0000.00716.49
7.4.290.0070.00016.56
7.4.280.0050.00316.41
7.4.270.0030.00316.53
7.4.260.0030.00316.63
7.4.250.0070.00016.41
7.4.240.0050.00216.53
7.4.230.0050.00316.60
7.4.220.0000.00716.64
7.4.210.0060.01016.59
7.4.200.0040.00416.60
7.4.160.0100.00516.45
7.4.150.0100.01016.63
7.4.140.0070.01017.19
7.4.130.0080.01016.50
7.4.120.0090.01016.39
7.4.110.0110.00816.41
7.4.100.0120.00916.46
7.4.90.0090.01016.41
7.4.80.0100.00816.89
7.4.70.0100.00916.41
7.4.60.0100.00716.53
7.4.50.0120.00916.49
7.4.40.0100.00916.44
7.4.30.0130.00616.36
7.4.20.0090.01016.43
7.4.10.0100.00916.18
7.4.00.0090.00816.01
7.3.330.0000.00613.26
7.3.320.0000.00613.32
7.3.310.0000.00816.19
7.3.300.0050.00216.10
7.3.290.0000.00716.30
7.3.280.0120.00616.30
7.3.270.0090.00816.67
7.3.260.0060.01016.34
7.3.250.0120.00616.33
7.3.240.0090.00916.27
7.3.230.0090.00916.28
7.3.220.0130.00616.26
7.3.210.0090.00916.26
7.3.200.0110.00816.21
7.3.190.0080.01016.31
7.3.180.0100.00916.25
7.3.170.0130.01116.27
7.3.160.0080.01016.26
7.3.150.0110.00816.36
7.3.140.0090.00816.32
7.3.130.0090.00916.05
7.3.120.0070.01015.91
7.3.110.0080.00915.92
7.3.100.0100.00815.95
7.3.90.0090.00715.93
7.3.80.0090.00915.88
7.3.70.0090.00815.86
7.3.60.0080.00815.90
7.3.50.0090.00815.88
7.3.40.0090.00815.93
7.3.30.0100.00715.83
7.3.20.0100.00816.10
7.3.10.0120.00616.14
7.3.00.0120.00616.16
7.2.340.0130.01216.56
7.2.330.0180.00716.56
7.2.320.0120.01216.49
7.2.310.0130.00816.48
7.2.300.0120.01116.39
7.2.290.0120.00916.45
7.2.280.0120.00916.48
7.2.270.0110.01016.44
7.2.260.0090.01016.16
7.2.250.0110.01016.16
7.2.240.0120.00916.16
7.2.230.0150.00916.11
7.2.220.0100.01016.01
7.2.210.0120.00816.18
7.2.200.0110.00916.19
7.2.190.0110.00916.12
7.2.180.0140.00616.05
7.2.170.0110.00816.16
7.2.160.0110.01116.30
7.2.150.0130.01116.41
7.2.140.0100.01116.37
7.2.130.0120.00816.37
7.2.120.0140.00616.38
7.2.110.0130.00916.33
7.2.100.0130.00916.31
7.2.90.0120.00916.32
7.2.80.0140.00816.33
7.2.70.0120.00916.57
7.2.60.0140.00716.57
7.2.50.0120.00816.51
7.2.40.0120.00816.63
7.2.30.0150.00916.53
7.2.20.0160.00916.56
7.2.10.0130.00816.51
7.2.00.0120.01016.84
7.1.330.0180.00915.26
7.1.320.0170.00915.29
7.1.310.0210.00715.28
7.1.300.0180.00915.29
7.1.290.0150.00915.30
7.1.280.0160.00915.19
7.1.270.0200.00615.19
7.1.260.0160.01015.31
7.1.250.0180.00515.22
7.1.240.0210.00915.21
7.1.230.0170.00915.23
7.1.220.0220.00815.28
7.1.210.0200.00615.22
7.1.200.0230.00715.45
7.1.190.0170.00915.37
7.1.180.0230.00915.38
7.1.170.0160.01015.41
7.1.160.0190.00715.40
7.1.150.0180.00915.42
7.1.140.0190.00815.42
7.1.130.0170.00915.46
7.1.120.0140.01115.41
7.1.110.0190.00615.48
7.1.100.0130.01015.68
7.1.90.0170.00715.36
7.1.80.0180.00715.47
7.1.70.0140.00915.61
7.1.60.0170.00915.67
7.1.50.0210.00915.59
7.1.40.0150.00815.59
7.1.30.0170.01115.53
7.1.20.0190.00815.60
7.1.10.0130.00915.51
7.1.00.0190.00715.52
7.0.330.0170.00814.90
7.0.320.0210.00614.91
7.0.310.0170.00715.21
7.0.300.0200.00815.11
7.0.290.0170.00715.11
7.0.280.0190.00815.11
7.0.270.0180.01015.12
7.0.260.0160.00815.18
7.0.250.0180.00715.15
7.0.240.0170.00815.22
7.0.230.0170.00815.17
7.0.220.0170.00815.20
7.0.210.0190.00715.13
7.0.200.0180.00615.29
7.0.190.0170.00615.37
7.0.180.0140.00915.29
7.0.170.0130.01015.24
7.0.160.0150.00915.28
7.0.150.0180.01015.26
7.0.140.0180.00715.27
7.0.130.0170.00715.33
7.0.120.0170.00715.21
7.0.110.0150.00915.26
7.0.100.0160.00715.35
7.0.90.0150.00915.15
7.0.80.0140.00815.23
7.0.70.0140.00915.25
7.0.60.0130.01015.12
7.0.50.0200.00715.22
7.0.40.0160.00915.13
7.0.30.0160.00615.15
7.0.20.0160.00814.91
7.0.10.0160.00815.10
7.0.00.0150.00815.08
5.6.400.0160.01015.69
5.6.390.0160.01115.67
5.6.380.0150.01115.52
5.6.370.0150.01115.44
5.6.360.0160.01115.43
5.6.350.0160.01315.43
5.6.340.0180.00815.39
5.6.330.0150.01115.53
5.6.320.0160.01015.45
5.6.310.0180.01015.50
5.6.300.0160.01416.03
5.6.290.0150.01616.00
5.6.280.0150.01516.11
5.6.270.0150.01315.98
5.6.260.0150.01516.03
5.6.250.0140.01415.91
5.6.240.0160.01216.03
5.6.230.0170.01215.97
5.6.220.0150.01116.00
5.6.210.0170.01315.94
5.6.200.0150.01716.06
5.6.190.0170.01415.96
5.6.180.0150.01316.00
5.6.170.0160.01316.04
5.6.160.0170.01215.99
5.6.150.0150.01216.04
5.6.140.0160.01415.99
5.6.130.0140.01615.95
5.6.120.0150.01516.04
5.6.110.0150.01115.87
5.6.100.0190.01315.93
5.6.90.0140.01416.05
5.6.80.0140.01215.87
5.6.70.0170.01215.91
5.6.60.0130.01415.95
5.6.50.0150.01315.85
5.6.40.0150.01315.83
5.6.30.0120.01615.88
5.6.20.0140.01615.83
5.6.10.0140.01515.86
5.6.00.0160.01415.85
5.5.380.0160.01215.37
5.5.370.0160.01215.33
5.5.360.0170.01115.29
5.5.350.0150.01115.28
5.5.340.0170.01015.33
5.5.330.0180.01015.27
5.5.320.0150.01215.31
5.5.310.0140.01415.46
5.5.300.0170.01215.46
5.5.290.0140.01415.33
5.5.280.0140.01515.35
5.5.270.0140.01715.44
5.5.260.0150.01315.28
5.5.250.0150.01215.34
5.5.240.0140.01315.24
5.5.230.0160.01315.23
5.5.220.0130.01515.21
5.5.210.0170.01315.27
5.5.200.0160.01215.21
5.5.190.0160.01315.13
5.5.180.0160.01315.21
5.5.170.0170.00914.95
5.5.160.0140.01315.21
5.5.150.0140.01315.24
5.5.140.0140.01415.24
5.5.130.0120.01415.18
5.5.120.0150.01115.26
5.5.110.0160.01615.21
5.5.100.0130.01715.20
5.5.90.0180.01215.25
5.5.80.0140.01715.23
5.5.70.0160.01215.24
5.5.60.0130.01715.17
5.5.50.0150.01515.11
5.5.40.0160.01515.25
5.5.30.0140.01415.18
5.5.20.0130.01615.12
5.5.10.0150.01415.11
5.5.00.0140.01315.20
5.4.450.0120.00812.60
5.4.440.0130.00712.83
5.4.430.0140.00612.73
5.4.420.0150.00512.70
5.4.410.0140.00612.65
5.4.400.0160.00512.67
5.4.390.0160.00712.60
5.4.380.0120.00912.63
5.4.370.0100.01012.61
5.4.360.0150.00512.60
5.4.350.0140.00812.61
5.4.340.0140.00412.45
5.4.330.0180.00312.65
5.4.320.0090.00712.65
5.4.310.0130.00312.57
5.4.300.0090.00912.60
5.4.290.0100.00512.59
5.4.280.0120.00912.63
5.4.270.0150.00512.62
5.4.260.0140.00312.56
5.4.250.0150.00412.59
5.4.240.0100.00812.61
5.4.230.0120.00812.52
5.4.220.0160.00512.49
5.4.210.0150.00512.53
5.4.200.0100.01012.44
5.4.190.0130.00812.45
5.4.180.0070.01012.52
5.4.170.0110.00712.55
5.4.160.0050.01012.53
5.4.150.0080.00612.48
5.4.140.0080.00812.54
5.4.130.0080.00812.69
5.4.120.0090.00612.57
5.4.110.0070.00912.58
5.4.100.0110.00412.66
5.4.90.0100.00712.63
5.4.80.0110.00612.65
5.4.70.0070.00912.74
5.4.60.0090.00712.73
5.4.50.0080.00812.61
5.4.40.0100.00812.68
5.4.30.0090.00812.66
5.4.20.0060.00912.61
5.4.10.0110.00412.71
5.4.00.0050.01312.50
5.3.290.0090.01313.16
5.3.280.0140.01113.04
5.3.270.0170.00913.02
5.3.260.0140.00813.01
5.3.250.0140.00913.08
5.3.240.0140.00713.01
5.3.230.0130.00713.10
5.3.220.0120.00912.77
5.3.210.0130.00912.78
5.3.200.0130.00812.86
5.3.190.0050.01612.96
5.3.180.0200.00413.09
5.3.170.0140.00713.11
5.3.160.0090.01113.06
5.3.150.0140.00813.08
5.3.140.0150.00812.89
5.3.130.0100.01112.97
5.3.120.0140.00812.99
5.3.110.0120.01012.88
5.3.100.0130.00812.92
5.3.90.0130.00812.92
5.3.80.0120.01112.77
5.3.70.0150.00812.71
5.3.60.0140.00812.89
5.3.50.0160.00812.82
5.3.40.0130.01212.83
5.3.30.0130.00912.82
5.3.20.0110.01112.87
5.3.10.0100.01012.67
5.3.00.0160.00312.70
5.2.170.0090.00712.15
5.2.160.0140.00312.17
5.2.150.0090.00712.15
5.2.140.0080.01012.25
5.2.130.0110.00712.08
5.2.120.0070.00912.12
5.2.110.0080.00812.07
5.2.100.0080.01012.11
5.2.90.0090.00812.13
5.2.80.0170.00312.02
5.2.70.0150.00312.03
5.2.60.0120.00512.01
5.2.50.0150.00312.05
5.2.40.0080.00812.14
5.2.30.0100.00712.05
5.2.20.0140.00612.02
5.2.10.0110.00612.06
5.2.00.0100.00711.90
5.1.60.0070.01111.75
5.1.50.0080.01011.65
5.1.40.0090.00511.67
5.1.30.0090.00611.77
5.1.20.0070.01111.74
5.1.10.0100.00611.69
5.1.00.0100.00611.66
5.0.50.0100.00311.21
5.0.40.0060.00611.21
5.0.30.0080.00711.21
5.0.20.0080.00511.21
5.0.10.0090.00411.21
5.0.00.0090.00511.21
4.4.90.0090.00111.21
4.4.80.0080.00111.21
4.4.70.0080.00011.21
4.4.60.0060.00311.21
4.4.50.0050.00311.21
4.4.40.0070.00211.21
4.4.30.0050.00311.21
4.4.20.0060.00311.21
4.4.10.0040.00411.21
4.4.00.0060.00311.21
4.3.110.0030.00511.21
4.3.100.0040.00311.21
4.3.90.0090.00011.21
4.3.80.0100.00011.21
4.3.70.0020.00611.21
4.3.60.0070.00211.21
4.3.50.0060.00211.21
4.3.40.0070.00111.21
4.3.30.0030.00411.21
4.3.20.0010.00511.21
4.3.10.0050.00111.21
4.3.00.0040.00310.86

preferences:
54.9 ms | 403 KiB | 5 Q