3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump((string) new Exception("\0 bar ") . "foo");

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.2rc30.0090.00517.16
8.2rc20.0000.00717.38
8.2rc10.0030.00617.25
8.1.130.0080.00017.55
8.1.120.0080.00317.35
8.1.110.0060.00217.29
8.1.100.0040.00417.30
8.1.90.0050.00317.36
8.1.80.0040.00817.31
8.1.70.0090.00217.34
8.1.60.0090.00417.53
8.1.50.0040.00817.46
8.1.40.0050.00717.38
8.1.30.0090.00617.52
8.1.20.0080.00517.39
8.1.10.0030.00717.37
8.1.00.0100.00217.29
8.0.260.0030.00317.30
8.0.250.0030.00616.89
8.0.240.0040.00716.90
8.0.230.0050.00616.90
8.0.220.0110.00016.77
8.0.210.0120.00016.88
8.0.200.0070.00416.89
8.0.190.0050.00616.92
8.0.180.0060.00516.85
8.0.170.0080.00316.81
8.0.160.0060.00616.82
8.0.150.0070.00616.75
8.0.140.0080.00316.78
8.0.130.0030.00815.00
8.0.120.0050.00716.77
8.0.110.0040.00716.76
8.0.100.0080.00316.85
8.0.90.0060.00516.87
8.0.80.0080.00716.80
8.0.70.0080.00416.79
8.0.60.0070.00516.61
8.0.50.0050.00716.80
8.0.30.0100.00616.83
8.0.20.0100.00817.25
8.0.10.0070.00316.96
8.0.00.0090.00716.71
7.4.330.0000.00516.82
7.4.320.0080.00216.40
7.4.300.0050.00516.50
7.4.290.0090.00316.40
7.4.280.0050.00616.35
7.4.270.0080.00416.40
7.4.260.0060.00516.52
7.4.250.0070.00616.45
7.4.240.0100.00116.43
7.4.230.0120.00016.43
7.4.220.0080.00916.53
7.4.210.0050.00916.53
7.4.200.0090.00216.50
7.4.190.0080.00516.42
7.4.180.0150.00016.29
7.4.160.0120.00316.48
7.4.150.0080.00816.92
7.4.140.0110.00717.36
7.4.130.0100.00816.43
7.4.120.0110.00716.44
7.4.110.0090.00816.35
7.4.100.0100.00816.33
7.4.90.0110.00916.38
7.4.80.0150.00517.76
7.4.70.0140.00216.32
7.4.60.0130.00216.32
7.4.50.0060.00816.29
7.4.40.0100.00716.28
7.4.30.0100.00716.33
7.4.20.0090.00616.27
7.4.10.0140.00016.19
7.4.00.0070.00815.30
7.3.330.0070.00314.65
7.3.320.0080.00314.51
7.3.310.0090.00216.15
7.3.300.0100.00016.24
7.3.290.0040.00616.05
7.3.280.0100.00816.18
7.3.270.0090.00716.75
7.3.260.0090.00716.11
7.3.250.0070.01016.21
7.3.240.0110.00716.34
7.3.230.0170.00216.15
7.3.220.0120.00216.03
7.3.210.0100.00516.15
7.3.200.0050.01116.13
7.3.190.0120.00516.09
7.3.180.0120.00716.14
7.3.170.0110.00516.13
7.3.160.0110.00516.26
7.3.150.0140.00016.15
7.3.140.0050.01016.05
7.3.130.0090.00616.07
7.3.120.0090.00615.31
7.3.110.0090.00715.24
7.3.100.0070.00715.28
7.3.90.0080.00715.25
7.3.80.0060.00815.13
7.3.70.0040.00915.15
7.3.60.0080.00815.18
7.3.50.0120.00315.21
7.3.40.0050.00815.11
7.3.30.0080.00715.24
7.3.20.0080.00616.46
7.3.10.0100.00816.44
7.3.00.0090.00616.49
7.2.340.0050.01015.93
7.2.330.0110.00816.21
7.2.320.0120.00316.38
7.2.310.0130.00416.30
7.2.300.0110.00416.22
7.2.290.0140.00516.32
7.2.280.0140.00016.06
7.2.270.0090.00616.11
7.2.260.0110.00415.98
7.2.250.0100.00715.36
7.2.240.0120.00515.05
7.2.230.0070.00815.18
7.2.220.0060.00715.38
7.2.210.0090.00515.32
7.2.200.0050.00915.35
7.2.190.0050.01115.37
7.2.180.0050.00915.30
7.2.170.0070.00415.30
7.2.160.0070.00615.56
7.2.150.0070.00816.50
7.2.140.0120.00316.69
7.2.130.0130.00516.58
7.2.120.0070.00816.65
7.2.110.0100.00816.50
7.2.100.0100.00616.58
7.2.90.0130.00616.60
7.2.80.0070.00916.58
7.2.70.0070.00816.60
7.2.60.0090.00616.49
7.2.50.0090.00916.58
7.2.40.0110.00616.67
7.2.30.0090.00616.66
7.2.20.0080.00916.53
7.2.10.0090.00816.60
7.2.00.0080.00717.26
7.1.330.0070.00615.61
7.1.320.0080.00415.68
7.1.310.0020.01115.64
7.1.300.0090.00715.53
7.1.290.0060.00915.57
7.1.280.0070.00815.72
7.1.270.0060.00815.61
7.1.260.0060.00815.56
7.1.250.0070.00715.53
7.1.240.0140.00015.11
7.1.230.0120.00315.44
7.1.220.0150.00015.23
7.1.210.0360.00415.33
7.1.200.0180.00515.05
7.1.190.0100.00515.14
7.1.180.0050.00915.25
7.1.170.0050.00915.38
7.1.160.0150.00015.29
7.1.150.0110.00415.21
7.1.140.0060.00915.30
7.1.130.0080.00815.22
7.1.120.0090.00515.35
7.1.110.0110.00415.09
7.1.100.0060.00716.64
7.1.90.0150.00015.22
7.1.80.0150.00015.17
7.1.70.0100.00216.02
7.1.60.0150.00517.42
7.1.50.0040.01016.00
7.1.40.0100.00715.28
7.1.30.0000.01515.26
7.1.20.0150.00015.15
7.1.10.0090.00615.29
7.1.00.0070.04118.79
7.0.330.0210.00715.00
7.0.320.0120.00314.95
7.0.310.0120.00215.09
7.0.300.0110.00314.97
7.0.290.0110.00314.85
7.0.280.0130.00015.09
7.0.270.0100.00515.05
7.0.260.0090.00415.14
7.0.250.0100.00515.14
7.0.240.0100.00315.16
7.0.230.0140.00015.24
7.0.220.0070.00714.86
7.0.210.0100.00515.11
7.0.200.0180.00314.73
7.0.190.0090.00414.86
7.0.180.0070.00715.10
7.0.170.0000.01515.24
7.0.160.0150.00015.00
7.0.150.0140.00015.10
7.0.140.0100.00415.15
7.0.130.0140.00015.14
7.0.120.0080.00514.98
7.0.110.0350.00314.93
7.0.100.0100.04417.46
7.0.90.0130.03217.50
7.0.80.0080.03917.50
7.0.70.0190.02717.50
7.0.60.0100.03917.43
7.0.50.0150.03817.63
7.0.40.0070.03117.63
7.0.30.0130.02517.64
7.0.20.0090.02217.60
7.0.10.0060.02817.58
7.0.00.0090.04417.54
5.6.400.0110.00315.52
5.6.390.0130.00015.68
5.6.380.0040.00915.69
5.6.370.0090.00415.69
5.6.360.0090.00415.71
5.6.350.0040.00815.57
5.6.340.0120.00015.66
5.6.330.0060.00615.77
5.6.320.0090.00415.64
5.6.310.0050.00915.75
5.6.300.0120.00015.39
5.6.290.0120.00015.79
5.6.280.0070.02818.33
5.6.270.0080.00615.55
5.6.260.0100.00315.65
5.6.250.0100.04218.13
5.6.240.0070.04418.14
5.6.230.0110.02218.21
5.6.220.0090.04118.16
5.6.210.0100.04318.29
5.6.200.0120.04018.53
5.6.190.0080.03018.39
5.6.180.0070.04218.31
5.6.170.0100.03818.45
5.6.160.0040.04218.48
5.6.150.0080.02718.34
5.6.140.0110.02418.36
5.6.130.0070.02418.30
5.6.120.0080.04518.42
5.6.110.0200.03318.31
5.6.100.0060.02518.34
5.6.90.0070.04918.33
5.6.80.0060.03818.01
5.6.70.0050.04518.07
5.6.60.0080.04018.11
5.6.50.0090.02517.97
5.6.40.0080.03818.08
5.6.30.0080.02318.04
5.6.20.0070.02417.91
5.6.10.0120.01717.97
5.6.00.0110.03818.11
5.5.380.0060.04418.21
5.5.370.0040.02818.03
5.5.360.0090.03918.07
5.5.350.0080.03817.99
5.5.340.0080.04118.20
5.5.330.0080.04218.13
5.5.320.0060.02318.18
5.5.310.0170.03818.22
5.5.300.0040.04418.26
5.5.290.0080.04218.17
5.5.280.0090.04118.17
5.5.270.0150.04318.20
5.5.260.0090.04318.13
5.5.250.0090.04018.05
5.5.240.0090.04017.95
5.5.230.0020.04017.89
5.5.220.0060.02617.97
5.5.210.0090.02317.83
5.5.200.0080.04117.84
5.5.190.0080.04317.90
5.5.180.0130.02517.87
5.5.170.0090.00515.44
5.5.160.0120.03517.91
5.5.150.0090.04117.91
5.5.140.0100.03317.67
5.5.130.0110.03717.81
5.5.120.0120.02317.90
5.5.110.0080.04317.85
5.5.100.0040.04017.76
5.5.90.0020.04017.81
5.5.80.0050.03517.83
5.5.70.0140.02717.81
5.5.60.0080.04017.93
5.5.50.0130.03217.79
5.5.40.0080.03717.80
5.5.30.0070.04017.80
5.5.20.0120.03717.87
5.5.10.0110.03517.79
5.5.00.0110.03517.78

preferences:
13.7 ms | 406 KiB | 5 Q