3v4l.org

run code in 300+ PHP versions simultaneously
<?php $e = new Exception(); // This line cause problem :( // Comment it to see the difference. // (string) $e; // This line show the clue (PHP Warning: ...). var_export($e); // This line will be affected. var_export(json_encode([$e])); // But This line still OK. var_export(json_encode($e));

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.0140.00316.63
8.3.50.0040.01817.91
8.3.40.0040.01118.67
8.3.30.0090.00618.67
8.3.20.0000.00820.30
8.3.10.0050.00321.95
8.3.00.0070.00021.91
8.2.180.0090.00618.16
8.2.170.0100.01022.96
8.2.160.0080.00820.44
8.2.150.0090.00024.18
8.2.140.0080.00024.66
8.2.130.0040.00419.39
8.2.120.0000.00726.35
8.2.110.0000.01022.29
8.2.100.0130.00017.59
8.2.90.0040.00418.22
8.2.80.0080.00017.97
8.2.70.0000.00818.05
8.2.60.0000.00719.21
8.2.50.0000.00918.10
8.2.40.0000.00720.60
8.2.30.0000.00719.17
8.2.20.0000.00717.94
8.2.10.0070.00017.97
8.2.00.0040.00417.63
8.1.280.0120.00325.92
8.1.270.0000.00923.91
8.1.260.0040.00428.09
8.1.250.0040.00428.09
8.1.240.0000.00923.94
8.1.230.0080.00320.91
8.1.220.0050.00317.74
8.1.210.0040.00418.77
8.1.200.0000.00817.10
8.1.190.0000.00817.35
8.1.180.0040.00418.10
8.1.170.0030.00618.70
8.1.160.0080.00023.83
8.1.150.0040.00418.81
8.1.140.0040.00419.63
8.1.130.0000.00817.46
8.1.120.0000.00817.55
8.1.110.0040.00417.49
8.1.100.0000.00817.49
8.1.90.0070.00017.40
8.1.80.0040.00417.49
8.1.70.0030.00317.37
8.1.60.0000.00817.53
8.1.50.0000.00817.61
8.1.40.0060.00317.51
8.1.30.0040.00417.64
8.1.20.0040.00417.52
8.1.10.0050.00217.66
8.1.00.0060.00317.52
8.0.300.0000.00820.17
8.0.290.0060.00316.75
8.0.280.0000.00718.45
8.0.270.0030.00317.17
8.0.260.0030.00316.83
8.0.250.0000.00716.97
8.0.240.0000.00816.93
8.0.230.0070.00316.95
8.0.220.0060.00316.81
8.0.210.0030.00316.91
8.0.200.0070.00016.84
8.0.190.0000.00716.86
8.0.180.0000.00716.86
8.0.170.0000.00916.82
8.0.160.0070.00016.93
8.0.150.0050.00216.69
8.0.140.0030.00316.90
8.0.130.0030.00313.42
8.0.120.0000.00816.79
8.0.110.0040.00416.81
8.0.100.0050.00316.87
8.0.90.0030.00516.97
8.0.80.0190.00316.92
8.0.70.0000.00716.90
8.0.60.0020.00516.95
8.0.50.0040.00416.73
8.0.30.0080.01016.89
8.0.20.0100.00817.41
8.0.10.0070.00017.09
8.0.00.0070.01016.66
7.4.330.0060.00015.55
7.4.320.0080.00016.66
7.4.300.0030.00616.59
7.4.290.0090.00316.45
7.4.280.0040.00416.60
7.4.270.0000.00616.51
7.4.260.0070.00016.59
7.4.250.0080.00016.60
7.4.240.0030.00416.47
7.4.230.0030.00316.57
7.4.220.0100.01616.59
7.4.210.0100.00716.71
7.4.200.0030.00316.65
7.4.160.0020.01316.49
7.4.150.0110.00717.40
7.4.140.0110.00617.86
7.4.130.0050.01216.52
7.4.120.0090.00916.47
7.4.110.0100.01016.40
7.4.100.0100.01016.61
7.4.90.0100.00716.33
7.4.80.0100.00719.39
7.4.70.0100.00616.41
7.4.60.0090.00616.58
7.4.50.0090.00616.24
7.4.40.0060.00916.59
7.4.30.0110.00616.46
7.4.00.0130.00014.87
7.3.330.0020.00713.05
7.3.320.0020.00213.04
7.3.310.0070.00016.03
7.3.300.0030.00316.23
7.3.290.0150.00616.17
7.3.280.0100.00716.19
7.3.270.0100.00717.40
7.3.260.0110.00616.34
7.3.250.0100.00816.14
7.3.240.0110.01016.21
7.3.230.0090.00916.39
7.3.210.0090.01316.37
7.3.200.0110.00716.33
7.3.190.0100.01016.38
7.3.180.0030.01816.37
7.3.170.0120.00616.18
7.3.160.0180.00316.15
7.3.10.0080.01216.48
7.3.00.0210.00716.52
7.2.330.0210.00316.38
7.2.320.0130.00316.63
7.2.310.0130.00316.53
7.2.300.0100.01416.54
7.2.290.0170.00016.54
7.2.130.0110.00316.63
7.2.120.0060.00616.56
7.2.110.0110.00716.71
7.2.100.0040.00716.89
7.2.90.0030.01016.57
7.2.80.0090.00916.47
7.2.70.0060.00916.64
7.2.60.0080.00616.59
7.2.50.0120.00016.71
7.2.40.0150.00616.97
7.2.30.0070.01016.74
7.2.20.0100.00716.86
7.2.10.0130.00616.83
7.2.00.0050.00618.06
7.1.250.0190.00015.64
7.1.200.0090.00315.79
7.1.70.0040.00417.18
7.1.60.0030.01317.10
7.1.00.0000.08022.35
7.0.200.0560.00714.41
7.0.120.0270.06320.32
7.0.110.0270.07720.34
7.0.100.0500.07020.14
7.0.90.0500.07020.27
7.0.80.0500.08020.45
7.0.70.0400.05720.24
7.0.60.0470.04720.15
7.0.50.0330.06320.26
7.0.40.0470.06020.22
7.0.30.0270.06320.22
7.0.20.0400.05320.21
7.0.10.0330.05720.25
7.0.00.0300.06320.20
5.6.270.0100.06020.79
5.6.260.0200.07721.06
5.6.250.0100.07021.07
5.6.240.0130.08321.03
5.6.230.0100.06320.87
5.6.220.0130.05721.04
5.6.210.0170.05320.95
5.6.200.0130.06321.00
5.6.190.0130.05720.86
5.6.180.0100.06020.99
5.6.170.0200.06721.02
5.6.160.0200.05020.99
5.6.150.0130.06021.04
5.6.140.0070.06721.03
5.6.130.0130.05720.82
5.6.120.0070.06320.79
5.6.110.0200.05320.98
5.6.100.0030.07020.98
5.6.90.0100.06321.02
5.6.80.0170.05020.38
5.6.70.0130.05320.37
5.6.60.0070.06320.20
5.6.50.0230.04720.11
5.6.40.0130.05320.36
5.6.30.0170.05320.28
5.6.20.0000.06720.20
5.6.10.0100.05720.20
5.6.00.0230.06020.21

preferences:
55.2 ms | 401 KiB | 5 Q