3v4l.org

run code in 300+ PHP versions simultaneously
<?php ob_start(); date_default_timezone_set('UTC'); phpinfo(INFO_GENERAL | INFO_CONFIGURATION | INFO_MODULES); $phpinfo = ob_get_contents(); ob_end_clean(); preg_match_all('#<body[^>]*>(.*)</body>#siU', $phpinfo, $output); $output = preg_replace('#<table[^>]*>#', '<table class="table table-striped adminlist">', $output[1][0]); $output1 = preg_replace('#(\w),(\w)#', '\1, \2', $output); xdiff_string_diff($output, $output1);

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.0110.00318.30
8.3.50.0140.00521.99
8.3.40.0040.01118.85
8.3.30.0070.01020.34
8.3.20.0040.00418.77
8.3.10.0040.00420.96
8.3.00.0040.00419.68
8.2.180.0150.00018.17
8.2.170.0150.00622.96
8.2.160.0070.00720.53
8.2.150.0040.00424.18
8.2.140.0030.00524.66
8.2.130.0020.00526.16
8.2.120.0060.00317.63
8.2.110.0090.00022.23
8.2.100.0030.00917.72
8.2.90.0040.00417.50
8.2.80.0060.00318.96
8.2.70.0060.00317.50
8.2.60.0090.00017.75
8.2.50.0040.00417.55
8.2.40.0030.00619.35
8.2.30.0000.00717.76
8.2.20.0040.00417.64
8.2.10.0040.00417.56
8.2.00.0040.00417.72
8.1.280.0090.00625.92
8.1.270.0030.00622.06
8.1.260.0080.00026.35
8.1.250.0050.00228.09
8.1.240.0090.00020.40
8.1.230.0040.00717.71
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0060.00317.35
8.1.190.0030.00517.22
8.1.180.0040.00418.10
8.1.170.0090.00017.62
8.1.160.0000.00718.82
8.1.150.0000.00818.59
8.1.140.0040.00417.34
8.1.130.0030.00517.82
8.1.120.0000.00717.41
8.1.110.0030.00617.46
8.1.100.0040.00417.36
8.1.90.0000.00717.41
8.1.80.0040.00417.40
8.1.70.0070.00017.40
8.1.60.0030.00517.39
8.1.50.0000.00717.43
8.1.40.0000.00817.48
8.1.30.0080.00017.52
8.1.20.0000.00917.62
8.1.10.0030.00617.53
8.1.00.0000.00817.33
8.0.300.0070.00018.77
8.0.290.0040.00416.75
8.0.280.0040.00418.00
8.0.270.0030.00317.93
8.0.260.0030.00316.76
8.0.250.0040.00416.84
8.0.240.0000.00716.99
8.0.230.0030.00316.99
8.0.220.0040.00416.87
8.0.210.0000.00716.88
8.0.200.0000.00616.90
8.0.190.0050.00317.00
8.0.180.0070.00016.92
8.0.170.0040.00416.80
8.0.160.0040.00416.86
8.0.150.0030.00516.81
8.0.140.0090.00016.81
8.0.130.0000.00613.57
8.0.120.0040.00416.89
8.0.110.0000.00716.84
8.0.100.0030.00516.88
8.0.90.0000.00716.70
8.0.80.0130.00316.85
8.0.70.0040.00416.86
8.0.60.0000.00716.80
8.0.50.0050.00216.91
8.0.30.0070.01217.21
8.0.20.0050.01417.40
8.0.10.0070.00016.90
8.0.00.0090.01116.81
7.4.330.0000.00516.68
7.4.320.0000.00616.55
7.4.300.0000.00616.70
7.4.290.0050.00316.70
7.4.280.0000.00716.69
7.4.270.0000.00716.71
7.4.260.0000.00613.60
7.4.250.0000.00816.54
7.4.240.0000.00716.67
7.4.230.0060.00016.66
7.4.220.0070.01516.80
7.4.210.0130.00416.79
7.4.200.0030.00616.62
7.4.190.0030.00316.88
7.4.160.0200.00316.82
7.4.150.0080.00917.40
7.4.140.0120.00617.86
7.4.130.0050.01216.78
7.4.120.0110.00616.77
7.4.110.0150.00716.91
7.4.100.0120.00416.77
7.4.90.0090.00916.64
7.4.80.0090.00919.39
7.4.70.0030.01316.61
7.4.60.0120.00616.76
7.4.50.0030.00316.77
7.4.40.0080.00822.77
7.4.30.0100.00716.34
7.4.00.0100.00315.35
7.3.330.0000.00513.38
7.3.320.0030.00313.36
7.3.310.0020.00616.30
7.3.300.0030.00516.34
7.3.290.0100.01016.47
7.3.280.0110.00616.49
7.3.270.0130.00317.40
7.3.260.0120.00718.24
7.3.250.0110.01216.59
7.3.240.0060.01116.39
7.3.230.0090.00916.48
7.3.210.0100.00616.74
7.3.200.0090.00919.39
7.3.190.0200.00016.42
7.3.180.0180.00016.61
7.3.170.0060.01016.50
7.3.160.0080.00816.76
7.3.120.0000.01815.29
7.2.330.0100.00616.61
7.2.320.0090.01216.62
7.2.310.0080.01616.64
7.2.300.0030.01316.71
7.2.290.0150.00816.89
7.2.60.0080.00816.93
7.2.00.0060.00619.80
7.1.200.0060.00616.04
7.1.100.0040.00718.36
7.1.70.0000.00917.29
7.1.60.0070.00317.59
7.1.50.0030.00917.13
7.1.40.0020.01216.95
7.1.30.0070.00417.01
7.1.20.0000.01217.02
7.1.10.0000.01216.91
7.1.00.0030.01016.94
7.0.200.0100.00317.05
7.0.190.0060.01116.83
7.0.180.0000.00916.66
7.0.170.0050.00316.66
7.0.160.0000.00916.66
7.0.150.0060.00316.66
7.0.140.0030.01016.66
7.0.130.0090.00916.66
7.0.120.0000.01616.66
7.0.110.0040.00416.75
7.0.100.0000.00916.81
7.0.90.0040.00416.66
7.0.80.0060.01016.66
7.0.70.0030.00916.66
7.0.60.0000.00816.66
7.0.50.0000.00816.66
7.0.40.0000.00716.66
7.0.30.0000.00916.66
7.0.20.0000.01116.66
7.0.10.0040.00416.66
7.0.00.0000.00716.66
5.6.300.0160.06220.82
5.6.290.0070.08920.66
5.6.280.0130.07821.03
5.6.270.0000.08021.04
5.6.260.0030.04020.96
5.6.250.0060.06221.02
5.6.240.0070.07720.95
5.6.230.0030.08720.97
5.6.220.0100.06620.80
5.6.210.0070.03720.83
5.6.200.0030.04120.80
5.6.190.0030.06820.76
5.6.180.0030.08720.98
5.6.170.0000.08120.91
5.6.160.0030.04020.83
5.6.150.0030.04220.79
5.6.140.0030.06220.71
5.6.130.0030.04320.71
5.6.120.0000.04621.00
5.6.110.0100.07820.94
5.6.100.0030.04220.87
5.6.90.0030.05920.67
5.6.80.0070.07220.34
5.6.70.0070.04420.16
5.6.60.0000.04720.36
5.6.50.0000.04520.20
5.6.40.0070.04020.12
5.6.30.0030.04320.41
5.6.20.0060.04420.18
5.6.10.0210.04120.09
5.6.00.0060.03620.13
5.5.380.0070.04317.48
5.5.370.0000.04417.51
5.5.360.0030.04317.57
5.5.350.0100.06017.57
5.5.340.0030.05018.04
5.5.330.0060.04818.07
5.5.320.0070.08318.04
5.5.310.0000.05517.94
5.5.300.0100.03618.03
5.5.290.0000.04418.03
5.5.280.0030.06917.83
5.5.270.0030.05318.03
5.5.260.0060.03817.96
5.5.250.0030.06717.75
5.5.240.0070.07617.13
5.5.230.0030.09417.39
5.5.220.0100.03217.34
5.5.210.0070.03917.41
5.5.200.0030.04417.10
5.5.190.0030.03817.38
5.5.180.0070.03917.22
5.5.160.0030.03917.38
5.5.150.0030.04017.21
5.5.140.0000.04117.32
5.5.130.0070.03917.46
5.5.120.0030.04317.47
5.5.110.0200.03617.06
5.5.100.0030.04917.28
5.5.90.0030.06617.28
5.5.80.0000.03917.11
5.5.70.0100.03617.30
5.5.60.0070.04017.31
5.5.50.0230.03917.27
5.5.40.0270.04016.95
5.5.30.0060.03217.27
5.5.20.0030.05017.10
5.5.10.0000.04117.35
5.5.00.0100.03517.25
5.4.450.0130.07019.31
5.4.440.0070.05019.42
5.4.430.0030.04019.15
5.4.420.0030.05019.15
5.4.410.0060.07119.18
5.4.400.0070.07919.10
5.4.390.0030.03819.07
5.4.380.0000.04018.98
5.4.370.0100.03718.83
5.4.360.0030.04319.06
5.4.350.0030.04018.83
5.4.340.0070.04219.14
5.4.320.0100.03418.82
5.4.310.0030.05019.08
5.4.300.0000.04319.14
5.4.290.0030.03619.00
5.4.280.0070.03518.91
5.4.270.0000.03919.09
5.4.260.0070.03319.01
5.4.250.0070.03918.98
5.4.240.0000.04119.16
5.4.230.0000.04018.84
5.4.220.0070.03419.16
5.4.210.0070.04018.88
5.4.200.0070.03718.96
5.4.190.0060.03519.08
5.4.180.0000.04019.08
5.4.170.0000.04118.83
5.4.160.0030.04019.05
5.4.150.0030.04619.07
5.4.140.0040.03616.66
5.4.130.0340.03416.66
5.4.120.0030.03716.66
5.4.110.0000.04016.66
5.4.100.0070.04616.66
5.4.90.0030.04416.69
5.4.80.0000.04016.72
5.4.70.0030.03916.66
5.4.60.0030.03416.66
5.4.50.0000.03916.66
5.4.40.0000.03916.66
5.4.30.0000.03816.66
5.4.20.0060.03816.66
5.4.10.0070.03616.66
5.4.00.0030.03716.66
5.3.290.0000.04516.66
5.3.280.0060.03916.66
5.3.270.0000.04016.66
5.3.260.0000.04216.66
5.3.250.0030.05016.66
5.3.240.0060.03216.66
5.3.230.0030.04016.66
5.3.220.0000.03716.66
5.3.210.0070.03416.66
5.3.200.0030.04016.66
5.3.190.0030.04516.66
5.3.180.0060.04116.66
5.3.170.0030.04016.66
5.3.160.0000.04116.66
5.3.150.0000.04216.66
5.3.140.0000.05016.66
5.3.130.0030.03516.66
5.3.120.0300.02616.66
5.3.110.0000.04316.66
5.3.100.0070.04416.66
5.3.90.0030.03516.66
5.3.80.0000.07216.66
5.3.70.0070.03316.66
5.3.60.0030.05016.66
5.3.50.0210.03516.66
5.3.40.0070.05216.66
5.3.30.0000.04916.66
5.3.20.0030.03616.66
5.3.10.0000.04916.66
5.3.00.0030.03316.66
5.2.170.0060.02616.66
5.2.160.0000.03316.66
5.2.150.0000.03116.66
5.2.140.0060.02716.66
5.2.130.0040.03616.66
5.2.120.0030.02816.66
5.2.110.0000.03216.66
5.2.100.0030.04016.66
5.2.90.0070.03216.66
5.2.80.0030.03116.66
5.2.70.0030.03916.66
5.2.60.0060.04516.66
5.2.50.0000.03916.66
5.2.40.0000.04416.66
5.2.30.0070.02416.66
5.2.20.0040.02816.66
5.2.10.0030.02616.66
5.2.00.0030.02816.66
5.1.60.0060.04816.66
5.1.50.0000.04116.66
5.1.40.0030.05316.66
5.1.30.0030.02616.66
5.1.20.0030.03316.66
5.1.10.0000.02916.66
5.1.00.0030.03516.66
5.0.50.0030.04916.66
5.0.40.0000.04816.66
5.0.30.0000.03316.66
5.0.20.0030.01816.66
5.0.10.0040.02116.66
5.0.00.0070.06316.66
4.4.90.0000.02216.66
4.4.80.0000.01916.66
4.4.70.0030.01516.66
4.4.60.0000.01716.66
4.4.50.0000.01716.66
4.4.40.0000.04016.66
4.4.30.0060.01916.66
4.4.20.0030.01616.66
4.4.10.0030.01916.66
4.4.00.0030.02716.66
4.3.110.0000.02016.66
4.3.100.0060.01016.66
4.3.90.0000.01716.66
4.3.80.0030.02216.66
4.3.70.0030.01416.66
4.3.60.0000.02116.66
4.3.50.0000.01716.66
4.3.40.0000.05416.66
4.3.30.0000.02116.66
4.3.20.0030.03716.66
4.3.10.0080.01116.66
4.3.00.0000.02616.66

preferences:
58.21 ms | 401 KiB | 5 Q