3v4l.org

run code in 300+ PHP versions simultaneously
<?php class ClassName { public function foo(stdClass $bar) { } } $instance = new ClassName(); $instance->foo(new stdClass());

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.130.0040.00418.26
8.3.120.0030.00620.82
8.3.110.0050.00520.94
8.3.100.0080.00024.06
8.3.90.0060.00326.77
8.3.80.0030.00618.43
8.3.70.0120.00318.31
8.3.60.0140.00716.63
8.3.50.0100.00318.24
8.3.40.0070.00718.57
8.3.30.0140.00318.72
8.3.20.0040.00421.61
8.3.10.0040.00421.69
8.3.00.0080.00019.55
8.2.250.0030.00618.54
8.2.240.0060.00317.37
8.2.230.0080.00022.58
8.2.220.0030.00637.54
8.2.210.0040.00426.77
8.2.200.0040.00416.50
8.2.190.0090.00616.63
8.2.180.0110.00818.53
8.2.170.0070.00718.88
8.2.160.0140.00022.96
8.2.150.0040.00425.66
8.2.140.0000.00724.66
8.2.130.0050.00226.16
8.2.120.0000.00720.85
8.2.110.0030.00722.30
8.2.100.0070.00317.59
8.2.90.0030.00617.84
8.2.80.0030.00718.03
8.2.70.0030.00617.38
8.2.60.0040.00418.16
8.2.50.0030.00618.10
8.2.40.0000.00820.20
8.2.30.0060.00518.14
8.2.20.0030.00517.90
8.2.10.0000.00717.97
8.2.00.0040.00418.04
8.1.300.0080.00817.88
8.1.290.0060.00330.84
8.1.280.0090.00625.92
8.1.270.0070.00023.99
8.1.260.0080.00026.35
8.1.250.0080.00028.09
8.1.240.0110.00022.32
8.1.230.0070.00719.23
8.1.220.0080.00017.74
8.1.210.0000.00818.77
8.1.200.0030.00617.23
8.1.190.0060.00316.87
8.1.180.0090.00018.10
8.1.170.0040.00418.57
8.1.160.0040.00418.73
8.1.150.0030.00520.80
8.1.140.0000.00717.68
8.1.130.0080.00018.96
8.1.120.0000.00717.41
8.1.110.0030.00617.36
8.1.100.0060.00317.36
8.1.90.0000.00717.37
8.1.80.0050.00217.34
8.1.70.0000.00717.33
8.1.60.0030.00617.48
8.1.50.0000.00817.51
8.1.40.0030.00517.56
8.1.30.0080.00017.54
8.1.20.0000.00817.70
8.1.10.0050.00317.41
8.1.00.0030.00517.30
8.0.300.0020.00518.77
8.0.290.0040.00416.63
8.0.280.0000.00718.37
8.0.270.0040.00417.19
8.0.260.0040.00417.12
8.0.250.0070.00016.84
8.0.240.0040.00416.85
8.0.230.0060.00316.84
8.0.220.0040.00416.76
8.0.210.0000.00716.81
8.0.200.0000.00816.91
8.0.190.0000.00716.92
8.0.180.0000.00816.89
8.0.170.0000.01016.94
8.0.160.0030.00616.86
8.0.150.0000.00716.88
8.0.140.0070.00016.85
8.0.130.0030.00613.24
8.0.120.0000.00716.87
8.0.110.0050.00216.73
8.0.100.0040.00416.69
8.0.90.0050.00216.94
8.0.80.0070.00716.93
8.0.70.0000.00716.71
8.0.60.0000.00716.89
8.0.50.0040.00416.76
8.0.30.0110.01017.02
8.0.20.0090.01417.12
8.0.10.0030.01317.02
8.0.00.0130.00916.77
7.4.330.0000.00515.55
7.4.320.0060.00016.38
7.4.300.0060.00516.51
7.4.290.0070.00016.57
7.4.280.0040.00416.50
7.4.270.0040.00416.51
7.4.260.0070.00016.50
7.4.250.0040.00416.46
7.4.240.0000.00716.46
7.4.230.0030.00316.57
7.4.220.0000.00716.39
7.4.210.0080.00816.55
7.4.200.0000.00716.60
7.4.160.0060.01016.54
7.4.150.0120.00616.50
7.4.140.0080.00917.60
7.4.130.0110.01016.38
7.4.120.0110.00816.47
7.4.110.0100.01016.45
7.4.100.0120.00816.46
7.4.90.0100.01016.38
7.4.80.0080.01016.93
7.4.70.0110.00716.31
7.4.60.0110.01116.37
7.4.50.0080.00916.22
7.4.40.0070.01116.35
7.4.30.0100.00916.31
7.4.20.0060.01316.45
7.4.10.0090.00916.44
7.4.00.0080.00916.01
7.3.330.0000.00713.05
7.3.320.0030.00313.05
7.3.310.0030.00316.13
7.3.300.0060.00016.18
7.3.290.0040.00416.28
7.3.280.0080.00816.23
7.3.270.0070.01116.18
7.3.260.0070.00916.28
7.3.250.0140.00216.11
7.3.240.0100.00816.30
7.3.230.0120.00516.22
7.3.220.0070.01016.28
7.3.210.0150.00516.12
7.3.200.0070.01116.21
7.3.190.0070.01116.24
7.3.180.0100.00916.22
7.3.170.0090.01116.22
7.3.160.0110.00716.25
7.3.150.0100.00916.40
7.3.140.0090.01116.17
7.3.130.0120.00616.23
7.3.120.0090.01115.96
7.3.110.0070.01015.82
7.3.100.0070.01015.79
7.3.90.0060.01015.94
7.3.80.0100.00715.64
7.3.70.0090.01015.61
7.3.60.0110.00715.58
7.3.50.0090.01015.46
7.3.40.0090.00815.42
7.3.30.0090.00815.37
7.3.20.0160.00815.92
7.3.10.0160.00915.84
7.3.00.0140.00815.88
7.2.340.0130.01016.40
7.2.330.0100.01216.29
7.2.320.0100.01116.30
7.2.310.0120.00916.36
7.2.300.0130.00916.34
7.2.290.0130.00816.34
7.2.280.0130.01016.40
7.2.270.0120.01016.35
7.2.260.0110.01216.33
7.2.250.0120.01016.18
7.2.240.0100.01015.99
7.2.230.0120.00915.94
7.2.220.0100.00816.04
7.2.210.0110.00815.87
7.2.200.0110.00715.69
7.2.190.0110.00715.74
7.2.180.0080.01215.72
7.2.170.0100.01115.60
7.2.160.0130.00815.61
7.2.150.0150.00916.19
7.2.140.0180.01016.15
7.2.130.0120.01016.12
7.2.120.0160.01016.10
7.2.110.0160.00916.00
7.2.100.0130.00916.12
7.2.90.0230.00916.14
7.2.80.0130.01115.98
7.2.70.0170.00716.12
7.2.60.0150.01016.24
7.2.50.0150.00916.12
7.2.40.0320.00816.26
7.2.30.0290.01016.23
7.2.20.0350.01016.26
7.2.10.0250.00916.25
7.2.00.0280.01016.15
7.1.330.0150.00915.12
7.1.320.0180.00915.18
7.1.310.0190.01015.11
7.1.300.0150.00815.07
7.1.290.0180.00715.08
7.1.280.0150.00915.13
7.1.270.0140.00915.16
7.1.260.0150.00915.13
7.1.250.0160.00814.78
7.1.240.0220.00914.92
7.1.230.0230.00614.96
7.1.220.0220.00814.93
7.1.210.0220.00914.93
7.1.200.0210.00714.97
7.1.190.0220.00914.96
7.1.180.0190.00914.99
7.1.170.0190.00814.98
7.1.160.0350.00615.07
7.1.150.0370.00615.06
7.1.140.0300.00815.07
7.1.130.0330.00915.12
7.1.120.0300.00915.08
7.1.110.0330.00715.08
7.1.100.0300.00815.04
7.1.90.0330.00915.01
7.1.80.0190.01215.01
7.1.70.0180.01014.96
7.1.60.0350.00916.36
7.1.50.0300.01016.39
7.1.40.0170.00916.25
7.1.30.0250.00916.28
7.1.20.0280.00916.32
7.1.10.0240.00914.95
7.1.00.0200.00714.98
7.0.330.0200.00914.49
7.0.320.0200.00615.05
7.0.310.0220.00815.08
7.0.300.0170.01215.14
7.0.290.0200.00715.05
7.0.280.0180.00815.09
7.0.270.0190.00715.18
7.0.260.0180.00915.13
7.0.250.0260.00715.16
7.0.240.0170.00915.18
7.0.230.0210.00715.17
7.0.220.0180.01015.13
7.0.210.0180.00815.16
7.0.200.0200.00815.17
7.0.190.0170.01115.17
7.0.180.0180.00715.16
7.0.170.0170.00815.17
7.0.160.0160.00815.10
7.0.150.0180.00715.10
7.0.140.0260.00615.04
7.0.130.0170.00915.07
7.0.120.0180.00815.10
7.0.110.0150.01115.05
7.0.100.0160.01015.08
7.0.90.0180.01015.00
7.0.80.0180.00915.11
7.0.70.0180.00815.03
7.0.60.0210.00815.07
7.0.50.0210.00515.12
7.0.40.0170.00915.06
7.0.30.0180.00715.10
7.0.20.0160.01015.04
7.0.10.0170.00815.04
7.0.00.0160.01215.08
5.6.400.0150.01115.12
5.6.390.0140.01215.06
5.6.380.0150.01015.06
5.6.370.0190.00915.92
5.6.360.0180.01115.87
5.6.350.0150.01315.93
5.6.340.0190.00915.86
5.6.330.0180.00915.81
5.6.320.0160.01315.82
5.6.310.0160.01115.85
5.6.300.0200.00815.82
5.6.290.0160.01015.84
5.6.280.0180.00815.81
5.6.270.0180.01015.81
5.6.260.0160.01115.88
5.6.250.0170.01015.84
5.6.240.0160.01215.83
5.6.230.0180.01115.84
5.6.220.0170.01615.72
5.6.210.0160.01215.79
5.6.200.0200.00915.78
5.6.190.0190.00915.90
5.6.180.0170.01015.89
5.6.170.0160.01215.86
5.6.160.0180.00915.85
5.6.150.0180.01015.84
5.6.140.0180.01015.86
5.6.130.0170.01215.80
5.6.120.0180.01015.86
5.6.110.0190.01115.81
5.6.100.0210.00915.80
5.6.90.0150.01215.77
5.6.80.0190.00715.82
5.6.70.0170.01015.76
5.6.60.0160.01015.76
5.6.50.0150.01215.83
5.6.40.0180.00915.82
5.6.30.0170.01015.77
5.6.20.0150.01415.65
5.6.10.0160.01115.73
5.6.00.0180.01015.73
5.5.380.0140.01115.89
5.5.370.0170.00715.88
5.5.360.0190.00315.83
5.5.350.0210.00315.72
5.5.340.0150.01015.66
5.5.330.0230.00715.75
5.5.320.0110.01115.84
5.5.310.0250.00015.70
5.5.300.0210.00315.78
5.5.290.0170.01115.70
5.5.280.0200.00315.70
5.5.270.0190.00615.66
5.5.260.0220.00515.65
5.5.250.0130.01315.87
5.5.240.0140.01215.78
5.5.230.0180.00315.73
5.5.220.0090.01215.72
5.5.210.0190.00615.87
5.5.200.0210.00415.64
5.5.190.0160.01015.61
5.5.180.0200.00815.59
5.5.170.0240.00415.59
5.5.160.0200.00615.85
5.5.150.0170.00715.54
5.5.140.0130.01315.55
5.5.130.0190.00515.46
5.5.120.0130.01615.58
5.5.110.0180.00815.50
5.5.100.0180.00915.72
5.5.90.0150.01115.97
5.5.80.0170.00915.77
5.5.70.0140.01215.82
5.5.60.0150.00915.75
5.5.50.0130.01015.68
5.5.40.0140.01115.73
5.5.30.0180.01415.77
5.5.20.0180.00915.79
5.5.10.0170.00915.62
5.5.00.0140.01115.68
5.4.450.0190.00012.55
5.4.440.0140.00812.64
5.4.430.0110.00712.66
5.4.420.0070.01012.54
5.4.410.0150.00312.66
5.4.400.0090.00912.57
5.4.390.0120.00612.51
5.4.380.0150.00312.55
5.4.370.0140.00712.60
5.4.360.0130.00812.55
5.4.350.0110.01112.62
5.4.340.0210.00312.60
5.4.330.0170.00712.58
5.4.320.0140.00712.65
5.4.310.0230.00012.66
5.4.300.0110.00712.68
5.4.290.0110.00712.68
5.4.280.0150.00712.66
5.4.270.0190.00312.64
5.4.260.0120.01212.51
5.4.250.0150.00812.50
5.4.240.0370.00312.54
5.4.230.0060.01612.43
5.4.220.0180.00512.32
5.4.210.0170.00612.51
5.4.200.0140.00612.32
5.4.190.0110.00712.42
5.4.180.0120.01212.24
5.4.170.0170.00312.48
5.4.160.0100.01012.45
5.4.150.0150.00412.36
5.4.140.0100.01012.60
5.4.130.0210.00012.59
5.4.120.0160.00212.61
5.4.110.0090.00912.57
5.4.100.0140.00712.52
5.4.90.0180.00012.57
5.4.80.0160.00312.61
5.4.70.0160.00612.72
5.4.60.0090.00912.61
5.4.50.0100.01012.59
5.4.40.0070.01412.66
5.4.30.0040.01312.71
5.4.20.0140.00612.65
5.4.10.0120.00612.60
5.4.00.0110.00612.55
5.3.290.0110.01113.10
5.3.280.0120.00912.89
5.3.270.0050.01913.09
5.3.260.0140.00513.10
5.3.250.0190.00313.01
5.3.240.0130.00612.81
5.3.230.0150.00313.03
5.3.220.0120.00813.12
5.3.210.0150.00712.82
5.3.200.0140.01313.01
5.3.190.0140.00712.89
5.3.180.0130.01313.06
5.3.170.0120.00913.15
5.3.160.0100.01013.02
5.3.150.0120.00613.15
5.3.140.0120.00613.11
5.3.130.0180.00713.01
5.3.120.0110.00713.11
5.3.110.0110.00713.08
5.3.100.0130.00613.08
5.3.90.0160.00613.04
5.3.80.0110.01113.04
5.3.70.0140.00513.17
5.3.60.0080.00813.17
5.3.50.0100.00713.12
5.3.40.0070.01013.23
5.3.30.0060.01213.00
5.3.20.0050.01612.99
5.3.10.0100.01412.86
5.3.00.0140.01112.81
5.2.170.0050.00911.97
5.2.160.0100.00711.99
5.2.150.0110.00612.02
5.2.140.0120.00411.96
5.2.130.0150.00011.90
5.2.120.0100.00711.94
5.2.110.0070.01411.90
5.2.100.0110.00712.02
5.2.90.0110.00711.91
5.2.80.0120.00912.01
5.2.70.0170.00012.00
5.2.60.0070.01011.69
5.2.50.0030.01311.79
5.2.40.0060.01011.82
5.2.30.0090.00611.95
5.2.20.0070.00711.77
5.2.10.0090.00711.71
5.2.00.0070.01011.69
5.1.60.0090.00611.69
5.1.50.0090.00511.69
5.1.40.0050.00911.69
5.1.30.0120.00311.69
5.1.20.0090.00611.69
5.1.10.0090.00611.69
5.1.00.0130.00011.69
5.0.50.0050.00511.69
5.0.40.0090.00611.69
5.0.30.0060.00611.69
5.0.20.0060.00611.69
5.0.10.0090.00311.69
5.0.00.0050.00215.64
4.4.90.0060.00211.69
4.4.80.0100.00011.69
4.4.70.0070.00011.69
4.4.60.0070.00011.69
4.4.50.0070.00011.69
4.4.40.0080.00011.69
4.4.30.0040.00411.69
4.4.20.0080.00211.69
4.4.10.0070.00011.69
4.4.00.0040.00411.69
4.3.110.0070.00011.69
4.3.100.0070.00011.69
4.3.90.0090.00011.69
4.3.80.0050.00211.69
4.3.70.0080.00011.69
4.3.60.0030.00511.69
4.3.50.0000.00711.69
4.3.40.0040.00411.69
4.3.30.0000.00611.69
4.3.20.0000.00911.69
4.3.10.0030.00311.69
4.3.00.0080.00011.69

preferences:
68.99 ms | 403 KiB | 5 Q