3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace My; class string{} function s(string $v) { var_dump($v); } s(new 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.0.100.0000.00716.79
8.0.90.0030.00516.65
8.0.80.0090.00016.68
8.0.70.0000.00716.73
8.0.60.0050.00216.72
8.0.50.0040.00416.80
8.0.30.0030.00516.85
8.0.20.0000.00816.76
8.0.10.0000.00816.92
8.0.00.0000.00716.98
7.4.230.0080.00016.27
7.4.220.0050.00216.49
7.4.210.0070.00016.20
7.4.200.0000.00816.20
7.4.190.0000.00716.33
7.4.180.0080.00016.60
7.4.160.0000.00716.49
7.4.150.0030.00316.20
7.4.140.0030.00516.31
7.4.130.0000.00816.24
7.4.120.0030.00316.33
7.4.110.0000.00716.23
7.4.100.0000.00716.41
7.4.90.0030.00316.00
7.4.80.0030.00316.30
7.4.70.0000.00716.43
7.4.60.0030.00316.29
7.4.50.0030.00316.03
7.4.40.0020.00515.95
7.4.30.0000.00716.34
7.4.20.0030.00316.24
7.4.10.0040.00416.26
7.4.00.0070.00016.42
7.3.300.0070.00016.22
7.3.290.0040.00416.14
7.3.280.0000.00716.04
7.3.270.0070.00016.20
7.3.260.0040.00416.24
7.3.250.0040.00416.16
7.3.240.0040.00416.20
7.3.230.0060.00016.18
7.3.220.0080.00016.10
7.3.210.0000.00815.97
7.3.200.0070.00015.98
7.3.190.0000.00716.14
7.3.180.0060.00016.01
7.3.170.0000.00616.11
7.3.160.0000.00716.07
7.3.150.0060.00016.13
7.3.140.0070.00016.14
7.3.130.0000.00616.11
7.3.120.0000.00616.07
7.3.110.0000.00715.97
7.3.100.0030.00316.08
7.3.90.0000.00716.29
7.3.80.0040.00416.17
7.3.70.0070.00016.13
7.3.60.0050.00216.25
7.3.50.0060.00016.24
7.3.40.0030.00316.13
7.3.30.0030.00316.22
7.3.20.0040.00418.11
7.3.10.0000.00918.07
7.3.00.0050.00218.01
7.2.340.0030.00615.97
7.2.330.0050.00316.15
7.2.320.0000.00716.17
7.2.310.0000.00715.99
7.2.300.0000.00716.14
7.2.290.0070.00016.04
7.2.280.0000.00716.13
7.2.270.0030.00515.98
7.2.260.0030.00316.06
7.2.250.0050.00316.05
7.2.240.0030.00316.13
7.2.230.0030.00315.99
7.2.220.0000.00716.04
7.2.210.0030.00516.17
7.2.200.0030.00316.25
7.2.190.0040.00416.19
7.2.180.0030.00316.20
7.2.170.0030.00316.18
7.2.160.0000.00716.34
7.2.150.0000.00718.21
7.2.140.0050.00218.24
7.2.130.0070.00018.13
7.2.120.0000.00718.25
7.2.110.0070.00018.20
7.2.100.0000.00718.25
7.2.90.0040.00418.05
7.2.80.0000.00918.22
7.2.70.0040.00418.07
7.2.60.0070.00018.14
7.2.50.0080.00018.21
7.2.40.0030.00318.18
7.2.30.0000.00718.20
7.2.20.0000.00818.22
7.2.10.0000.00818.12
7.2.00.0050.00318.32
7.1.330.0040.00417.19
7.1.320.0000.00617.16
7.1.310.0030.00317.05
7.1.300.0000.00617.17
7.1.290.0030.00317.21
7.1.280.0050.00217.21
7.1.270.0030.00317.15
7.1.260.0030.00316.98
7.1.250.0030.00316.97
7.1.240.0000.00717.02
7.1.230.0060.00017.18
7.1.220.0030.00317.11
7.1.210.0070.00016.98
7.1.200.0030.00317.04
7.1.190.0030.00316.98
7.1.180.0030.00317.10
7.1.170.0000.00716.90
7.1.160.0070.00017.02
7.1.150.0000.00817.03
7.1.140.0020.00517.00
7.1.130.0000.00717.05
7.1.120.0000.00617.06
7.1.110.0040.00417.01
7.1.100.0000.00617.03
7.1.90.0070.00016.78
7.1.80.0000.00616.89
7.1.70.0040.00416.95
7.1.60.0030.00316.90
7.1.50.0000.00616.91
7.1.40.0030.00317.19
7.1.30.0030.00316.96
7.1.20.0000.00717.05
7.1.10.0070.00017.07
7.1.00.0070.00016.93
7.0.330.0070.00016.64
7.0.320.0040.00416.77
7.0.310.0070.00016.82
7.0.300.0030.00316.82
7.0.290.0070.00016.87
7.0.280.0040.00416.64
7.0.270.0070.00016.64
7.0.260.0040.00416.64
7.0.250.0050.00216.99
7.0.240.0030.00316.86
7.0.230.0070.00016.79
7.0.220.0070.00016.75
7.0.210.0040.00416.81
7.0.200.0060.00316.78
7.0.190.0000.00716.80
7.0.180.0060.00016.81
7.0.170.0040.00416.88
7.0.160.0070.00016.75
7.0.150.0060.00016.82
7.0.140.0000.00616.80
7.0.130.0030.00316.85
7.0.120.0030.00316.79
7.0.110.0030.00316.80
7.0.100.0000.00716.73
7.0.90.0030.00316.77
7.0.80.0060.00016.59
7.0.70.0060.00016.68
7.0.60.0060.00016.85
7.0.50.0030.00316.75
7.0.40.0060.00016.85
7.0.30.0070.00016.73
7.0.20.0000.00616.66
7.0.10.0040.00416.68
7.0.00.0040.00416.63
5.6.400.0000.00715.82
5.6.390.0030.00315.66
5.6.380.0000.00715.67
5.6.370.0000.00615.87
5.6.360.0000.00615.63
5.6.350.0040.00415.68
5.6.340.0030.00315.92
5.6.330.0040.00415.66
5.6.320.0030.00615.72
5.6.310.0000.00715.71
5.6.300.0030.00315.54
5.6.290.0070.00015.64
5.6.280.0030.00315.67
5.6.270.0030.00315.80
5.6.260.0070.00015.66
5.6.250.0000.00715.61
5.6.240.0050.00215.60
5.6.230.0000.00715.65
5.6.220.0000.00715.66
5.6.210.0030.00315.62
5.6.200.0030.00315.86
5.6.190.0050.00215.73
5.6.180.0040.00415.66
5.6.170.0060.00015.69
5.6.160.0060.00015.94
5.6.150.0040.00415.96
5.6.140.0030.00315.66
5.6.130.0030.00315.66
5.6.120.0000.00715.89
5.6.110.0030.00315.66
5.6.100.0000.00615.86
5.6.90.0070.00015.67
5.6.80.0000.00615.88
5.6.70.0000.00615.91
5.6.60.0040.00415.77
5.6.50.0030.00615.93
5.6.40.0050.00315.57
5.6.30.0080.00015.59
5.6.20.0000.00715.51
5.6.10.0070.00015.60
5.6.00.0030.00315.43
5.5.380.0030.00315.73
5.5.370.0070.00015.78
5.5.360.0000.00715.66
5.5.350.0000.00615.64
5.5.340.0000.00715.57
5.5.330.0030.00315.61
5.5.320.0040.00415.60
5.5.310.0000.00715.60
5.5.300.0000.00615.60
5.5.290.0000.00615.43
5.5.280.0000.00615.44
5.5.270.0000.00715.67
5.5.260.0030.00315.52
5.5.250.0000.00615.75
5.5.240.0000.00615.77
5.5.230.0000.00615.67
5.5.220.0000.00615.70
5.5.210.0030.00315.82
5.5.200.0050.00215.46
5.5.190.0000.00615.53
5.5.180.0070.00015.49
5.5.170.0000.00815.48
5.5.160.0070.00015.62
5.5.150.0060.00015.44
5.5.140.0030.00315.29
5.5.130.0060.00015.50
5.5.120.0070.00015.38
5.5.110.0040.00415.21
5.5.100.0000.00815.52
5.5.90.0030.00315.59
5.5.80.0000.00615.60
5.5.70.0000.00615.70
5.5.60.0040.00415.77
5.5.50.0060.00015.76
5.5.40.0030.00315.59
5.5.30.0000.00615.73
5.5.20.0030.00315.69
5.5.10.0030.00315.59
5.5.00.0030.00315.67
5.4.450.0020.00212.77
5.4.440.0000.00512.68
5.4.430.0020.00212.58
5.4.420.0000.00512.65
5.4.410.0050.00012.57
5.4.400.0000.00512.47
5.4.390.0050.00012.55
5.4.380.0020.00212.38
5.4.370.0000.00512.41
5.4.360.0030.00312.55
5.4.350.0060.00012.45
5.4.340.0030.00312.38
5.4.330.0000.00512.46
5.4.320.0000.00512.54
5.4.310.0060.00012.47
5.4.300.0000.00512.62
5.4.290.0000.00512.59
5.4.280.0050.00012.47
5.4.270.0060.00012.37
5.4.260.0000.00612.32
5.4.250.0020.00212.43
5.4.240.0040.00012.51
5.4.230.0020.00212.33
5.4.220.0000.00512.14
5.4.210.0050.00012.36
5.4.200.0060.00012.28
5.4.190.0000.00512.33
5.4.180.0000.00512.44
5.4.170.0050.00012.25
5.4.160.0060.00012.30
5.4.150.0000.00512.32
5.4.140.0000.00512.31
5.4.130.0050.00012.58
5.4.120.0000.00612.33
5.4.110.0050.00012.60
5.4.100.0030.00312.37
5.4.90.0000.00612.50
5.4.80.0050.00012.57
5.4.70.0050.00012.64
5.4.60.0000.00512.44
5.4.50.0030.00312.46
5.4.40.0000.00612.64
5.4.30.0000.00512.66
5.4.20.0000.00512.66
5.4.10.0030.00312.64
5.4.00.0000.00612.45
5.3.290.0030.00313.17
5.3.280.0000.00512.90
5.3.270.0000.00512.78
5.3.260.0000.00613.19
5.3.250.0050.00012.79
5.3.240.0000.00512.71
5.3.230.0020.00212.72
5.3.220.0050.00012.85
5.3.210.0000.00612.73
5.3.200.0050.00012.90
5.3.190.0050.00012.70
5.3.180.0000.00513.17
5.3.170.0000.00512.91
5.3.160.0000.00513.03
5.3.150.0000.00513.08
5.3.140.0000.00512.79
5.3.130.0000.00512.85
5.3.120.0060.00012.91
5.3.110.0000.00513.09
5.3.100.0000.00512.86
5.3.90.0050.00012.96
5.3.80.0000.00512.73
5.3.70.0020.00212.98
5.3.60.0000.00513.09
5.3.50.0000.00512.95
5.3.40.0050.00012.94
5.3.30.0020.00213.22
5.3.20.0060.00012.96
5.3.10.0000.00512.73
5.3.00.0060.00012.79
5.2.170.0020.00211.88
5.2.160.0000.00411.86
5.2.150.0000.00511.76
5.2.140.0000.00511.82
5.2.130.0000.00511.73
5.2.120.0000.00511.76
5.2.110.0020.00211.66
5.2.100.0000.00411.79
5.2.90.0000.00411.62
5.2.80.0000.00411.74
5.2.70.0040.00011.59
5.2.60.0030.00311.70
5.2.50.0050.00011.59
5.2.40.0000.00511.70
5.2.30.0000.00411.59
5.2.20.0030.00311.59
5.2.10.0050.00011.59
5.2.00.0020.00211.59
5.1.60.0000.00511.59
5.1.50.0000.00411.59
5.1.40.0030.00311.59
5.1.30.0000.00511.59
5.1.20.0040.00011.59
5.1.10.0050.00011.59
5.1.00.0000.00411.59
5.0.50.0040.00011.59
5.0.40.0020.00211.59
5.0.30.0000.00411.59
5.0.20.0020.00211.59
5.0.10.0000.00411.59
5.0.00.0040.00011.59
4.4.90.0000.00211.59
4.4.80.0020.00011.59
4.4.70.0000.00311.59
4.4.60.0000.00311.59
4.4.50.0000.00311.59
4.4.40.0000.00211.59
4.4.30.0000.00211.59
4.4.20.0000.00311.59
4.4.10.0000.00311.59
4.4.00.0000.00311.59
4.3.110.0000.00311.59
4.3.100.0000.00211.59
4.3.90.0000.00211.59
4.3.80.0000.00211.59
4.3.70.0000.00211.59
4.3.60.0000.00211.59
4.3.50.0000.00311.59
4.3.40.0000.00211.59
4.3.30.0000.00211.59
4.3.20.0020.00011.59
4.3.10.0020.00011.59
4.3.00.0000.00211.59

preferences:
139.8 ms | 1432 KiB | 7 Q