3v4l.org

run code in 300+ PHP versions simultaneously
<?php session_set_save_handler(function() { echo 1; return true; }, function() { echo 2; return true; }, function() { echo 3;return true; }, function() { echo 4;return true; }, function() { echo 5;return true; }, function() { echo 6;return true; }); //"oeffne", "schliesse", "lese", "schreibe", "loesche", "gc"); session_start();

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.0060.01116.75
8.3.50.0130.00522.12
8.3.40.0070.01318.67
8.3.30.0120.00618.86
8.3.20.0030.00620.38
8.3.10.0040.00423.66
8.3.00.0060.00319.06
8.2.180.0120.00616.63
8.2.170.0110.00722.96
8.2.160.0030.01019.25
8.2.150.0000.00824.18
8.2.140.0000.00824.66
8.2.130.0000.00826.16
8.2.120.0070.00026.35
8.2.110.0090.00020.27
8.2.100.0080.00417.90
8.2.90.0030.00519.09
8.2.80.0030.00717.97
8.2.70.0030.00517.38
8.2.60.0050.00317.68
8.2.50.0030.00618.07
8.2.40.0000.00819.39
8.2.30.0000.00720.53
8.2.20.0000.00817.61
8.2.10.0040.00417.93
8.2.00.0040.00417.93
8.1.280.0000.01425.92
8.1.270.0040.00423.83
8.1.260.0040.00428.09
8.1.250.0040.00428.09
8.1.240.0030.00622.47
8.1.230.0090.00317.54
8.1.220.0040.00417.74
8.1.210.0050.00318.77
8.1.200.0090.00017.36
8.1.190.0040.00417.10
8.1.180.0040.00418.10
8.1.170.0040.00418.53
8.1.160.0030.00321.93
8.1.150.0040.00418.89
8.1.140.0000.00819.42
8.1.130.0000.00717.64
8.1.120.0040.00417.32
8.1.110.0040.00417.42
8.1.100.0050.00317.37
8.1.90.0000.00817.46
8.1.80.0030.00317.31
8.1.70.0030.00317.30
8.1.60.0060.00317.48
8.1.50.0060.00317.47
8.1.40.0040.00417.34
8.1.30.0080.00017.56
8.1.20.0000.00717.61
8.1.10.0020.00517.42
8.1.00.0000.00717.43
8.0.300.0000.00718.77
8.0.290.0040.00416.75
8.0.280.0000.00718.38
8.0.270.0070.00017.20
8.0.260.0000.00717.25
8.0.250.0000.00716.89
8.0.240.0030.00516.89
8.0.230.0000.00816.88
8.0.220.0070.00016.83
8.0.210.0000.00616.73
8.0.200.0000.00616.95
8.0.190.0050.00216.92
8.0.180.0000.00816.81
8.0.170.0050.00316.82
8.0.160.0040.00416.86
8.0.150.0070.00016.77
8.0.140.0000.00816.89
8.0.130.0030.00313.37
8.0.120.0000.00816.92
8.0.110.0000.00816.91
8.0.100.0000.00716.84
8.0.90.0000.00816.78
8.0.80.0110.00716.84
8.0.70.0000.00716.76
8.0.60.0040.00416.73
8.0.50.0040.00416.89
8.0.30.0070.01017.21
8.0.20.0120.00917.40
8.0.10.0030.00516.91
8.0.00.0090.00916.85
7.4.330.0020.00215.08
7.4.320.0040.00416.47
7.4.300.0000.00716.59
7.4.290.0030.00316.46
7.4.280.0040.00416.48
7.4.270.0000.00716.59
7.4.260.0050.00216.51
7.4.250.0030.00516.31
7.4.240.0030.00316.38
7.4.230.0030.00316.34
7.4.220.0060.01316.46
7.4.210.0040.01116.39
7.4.200.0000.00816.45
7.4.160.0030.01216.61
7.4.150.0120.01217.40
7.4.140.0130.00917.86
7.4.130.0170.00816.47
7.4.120.0050.01416.40
7.4.110.0130.00716.39
7.4.100.0090.01216.52
7.4.90.0030.01416.55
7.4.80.0090.00919.39
7.4.70.0110.00516.64
7.4.60.0030.01916.41
7.4.50.0000.00616.46
7.4.40.0140.00316.56
7.4.30.0090.00916.45
7.4.00.0030.01214.87
7.3.330.0050.00013.28
7.3.320.0030.00313.30
7.3.310.0000.00816.20
7.3.300.0000.00616.30
7.3.290.0080.00616.30
7.3.280.0060.01016.29
7.3.270.0090.01317.40
7.3.260.0130.00616.53
7.3.240.0090.01116.35
7.3.230.0110.00616.50
7.3.210.0090.00916.43
7.3.200.0060.01016.38
7.3.190.0090.00916.38
7.3.180.0030.01216.43
7.3.170.0160.00616.64
7.3.160.0110.00516.52
7.3.10.0130.00316.08
7.3.00.0090.00916.04
7.2.330.0070.01116.77
7.2.320.0090.01416.54
7.2.310.0140.00716.39
7.2.300.0060.01016.37
7.2.290.0120.00616.48
7.2.130.0140.00516.57
7.2.120.0110.00716.34
7.2.110.0160.00316.30
7.2.100.0130.00416.30
7.2.90.0060.01216.63
7.2.80.0140.00716.63
7.2.70.0130.01316.22
7.2.60.0110.00716.73
7.2.50.0140.00816.32
7.2.40.0130.01116.43
7.2.30.0210.01116.76
7.2.20.0130.00816.67
7.2.10.0200.00616.71
7.2.00.0080.01317.78
7.1.250.0150.00314.98
7.1.200.0030.00915.42
7.1.100.0070.00317.96
7.1.70.0020.00516.95
7.1.60.0120.01219.48
7.1.50.0100.00616.77
7.1.00.0070.06722.54
7.0.200.0340.00614.18
7.0.60.2030.09019.97
7.0.50.0030.04017.87
7.0.40.0000.04720.18
7.0.30.0270.06720.16
7.0.20.0130.09020.19
7.0.10.0070.05720.33
7.0.00.0070.04020.18
5.6.280.0030.03021.02
5.6.210.1200.06320.75
5.6.200.0030.08018.22
5.6.190.0100.06720.60
5.6.180.0230.07020.61
5.6.170.0200.05020.50
5.6.160.0170.07320.44
5.6.150.0100.07718.29
5.6.140.0100.07318.18
5.6.130.0070.05318.27
5.6.120.0100.05021.10
5.6.110.0100.04320.98
5.6.100.0030.04021.14
5.6.90.0130.07020.88
5.6.80.0070.08020.38
5.5.350.4230.04320.45
5.5.340.0000.04317.95
5.5.330.0000.05020.27
5.5.320.0230.07320.32
5.5.310.0370.03720.28
5.5.300.0130.07718.07
5.5.290.0100.04717.98
5.5.280.0170.06020.85
5.5.270.0070.04320.79
5.5.260.0030.05720.80
5.5.250.0130.07720.80
5.5.240.0330.06720.19

preferences:
57.77 ms | 401 KiB | 5 Q