3v4l.org

run code in 300+ PHP versions simultaneously
<?php $result = array("array_reduce", "array_diff_uassoc", "array_diff_ukey", "array_udiff", "array_udiff_assoc", "array_intersect_uassoc", "array_intersect_ukey", "array_uintersect", "array_uintersect_assoc", "array_walk", "array_walk_recursive", "iterator_apply", "usort", "uasort", "uksort", "iterator_apply", "array_map", "array_filter", "register_shutdown_function", "filter_var", "filter_var_array", "filter_input", "filter_input_array", "call_user_func", "call_user_func_array", "eval", "assert", "preg_replace", "preg_filter", "create_function", "mb_ereg_replace", "mb_eregi_replace",); /* function show_all($keys){ global $result; foreach ($keys as $key) { if(is_array($key)) show_all($key); else{ $refFunc = new ReflectionFunction($key); foreach( $refFunc->getParameters() as $param ){ if(preg_match('/callback/',$param->name)) $result[$key] = 1; } } } } show_all(get_defined_functions()); */ foreach ($result as $key) { print "$key:\n"; $refFunc = new ReflectionFunction($key); foreach( $refFunc->getParameters() as $param ){ print "\t$param\n"; } } ?>

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.0070.01418.25
8.3.50.0070.00921.08
8.3.40.0110.00418.79
8.3.30.0170.00019.13
8.3.20.0040.00420.16
8.3.10.0050.00322.09
8.3.00.0080.00022.51
8.2.180.0100.01316.75
8.2.170.0110.00322.96
8.2.160.0100.00319.21
8.2.150.0080.00024.18
8.2.140.0050.00324.66
8.2.130.0040.00426.16
8.2.120.0060.00019.38
8.2.110.0040.00422.14
8.2.100.0080.00317.91
8.2.90.0080.00019.05
8.2.80.0080.00018.05
8.2.70.0000.00917.75
8.2.60.0110.00017.93
8.2.50.0000.00918.07
8.2.40.0000.00818.28
8.2.30.0000.00818.05
8.2.20.0000.00717.78
8.2.10.0040.00417.80
8.2.00.0040.00417.68
8.1.280.0100.01025.92
8.1.270.0030.00622.03
8.1.260.0080.00026.35
8.1.250.0000.00828.09
8.1.240.0060.00323.98
8.1.230.0080.00318.98
8.1.220.0050.00317.89
8.1.210.0050.00318.77
8.1.200.0090.00017.13
8.1.190.0000.00817.30
8.1.180.0040.00420.48
8.1.170.0070.00718.65
8.1.160.0070.00022.09
8.1.150.0070.00018.51
8.1.140.0040.00417.36
8.1.130.0040.00417.83
8.1.120.0040.00417.38
8.1.110.0100.00017.34
8.1.100.0000.00717.38
8.1.90.0040.00417.41
8.1.80.0000.00717.41
8.1.70.0030.00317.35
8.1.60.0040.00417.59
8.1.50.0050.00317.53
8.1.40.0000.00717.43
8.1.30.0000.00717.67
8.1.20.0090.00017.55
8.1.10.0080.00017.59
8.1.00.0080.00017.39
8.0.300.0040.00418.77
8.0.290.0000.00717.18
8.0.280.0080.00018.36
8.0.270.0040.00417.25
8.0.260.0030.00516.95
8.0.250.0000.00717.04
8.0.240.0080.00017.06
8.0.230.0030.00417.04
8.0.220.0040.00416.91
8.0.210.0000.00816.95
8.0.200.0030.00316.93
8.0.190.0050.00317.08
8.0.180.0070.00016.89
8.0.170.0060.00316.88
8.0.160.0030.00516.94
8.0.150.0050.00316.88
8.0.140.0000.00816.79
8.0.130.0000.00613.39
8.0.120.0000.00816.95
8.0.110.0040.00416.81
8.0.100.0040.00416.82
8.0.90.0030.00516.80
8.0.80.0000.01416.94
8.0.70.0000.00716.82
8.0.60.0080.00016.84
8.0.50.0040.00416.84
8.0.30.0120.00717.09
8.0.20.0120.00717.40
8.0.10.0040.00417.06
8.0.00.0140.01016.70
7.4.330.0050.00015.00
7.4.320.0030.00316.49
7.4.300.0070.00016.43
7.4.290.0040.00416.54
7.4.280.0030.00316.41
7.4.270.0000.00716.61
7.4.260.0000.00716.42
7.4.250.0040.00416.57
7.4.240.0020.00516.54
7.4.230.0070.00016.63
7.4.220.0110.00816.44
7.4.210.0100.00816.63
7.4.200.0040.00416.39
7.4.190.0030.00316.36
7.4.160.0120.00516.48
7.4.150.0110.00817.40
7.4.140.0120.00717.86
7.4.130.0130.00816.56
7.4.120.0100.01016.51
7.4.110.0180.00416.37
7.4.100.0070.01116.73
7.4.90.0160.00316.69
7.4.80.0130.01019.39
7.4.70.0050.01516.51
7.4.60.0000.02016.63
7.4.50.0040.00416.27
7.4.40.0040.01122.77
7.4.30.0130.00316.61
7.4.00.0040.01415.05
7.3.330.0030.00313.14
7.3.320.0030.00313.23
7.3.310.0050.00216.23
7.3.300.0000.00716.44
7.3.290.0060.00916.50
7.3.280.0100.00816.38
7.3.270.0120.01217.40
7.3.260.0280.01616.46
7.3.250.0090.00816.46
7.3.240.0150.00616.38
7.3.230.0100.01016.39
7.3.210.0000.02116.50
7.3.200.0090.01319.39
7.3.190.0180.00616.64
7.3.180.0030.01316.36
7.3.170.0070.01016.50
7.3.160.0100.01016.61
7.3.120.0070.01114.96
7.3.110.0080.01014.69
7.3.100.0080.00814.84
7.3.90.0050.01014.95
7.3.80.0050.00714.71
7.3.70.0100.00514.70
7.3.60.0090.00514.86
7.3.50.0050.00714.81
7.3.40.0060.00614.85
7.3.30.0100.00514.66
7.3.20.0090.00816.54
7.3.10.0100.00316.57
7.3.00.0030.01016.67
7.2.330.0110.00916.70
7.2.320.0100.01016.82
7.2.310.0110.00816.72
7.2.300.0070.01116.46
7.2.290.0030.02016.74
7.2.250.0060.01115.12
7.2.240.0070.01414.90
7.2.230.0070.00915.07
7.2.220.0080.00815.10
7.2.210.0110.00514.98
7.2.200.0030.01114.96
7.2.190.0110.00114.96
7.2.180.0060.01014.98
7.2.170.0030.01315.03
7.2.60.0040.01116.94
7.2.00.0050.00519.67
7.1.330.0080.00615.74
7.1.320.0090.00615.77
7.1.310.0060.00615.78
7.1.300.0040.00815.81
7.1.290.0050.00715.87
7.1.280.0050.00915.71
7.1.270.0030.01115.62
7.1.260.0070.00815.71
7.1.200.0060.00615.70
7.1.100.0000.01118.04
7.1.70.0030.00316.93
7.1.60.0040.01419.82
7.1.50.0120.00017.07
7.1.00.0030.04722.33
7.0.200.0000.00716.78
7.0.140.0000.07022.00
7.0.110.0070.04319.86
7.0.100.0030.05319.94
7.0.90.0030.08719.97
7.0.80.0030.08719.85
7.0.70.0000.05319.96
7.0.60.0070.06719.93
7.0.50.0100.03019.92
7.0.40.0030.03719.86
7.0.30.0100.04319.73
7.0.20.0100.04319.65
7.0.10.0100.06319.72
7.0.00.0070.05719.84
5.6.280.0070.07020.92
5.6.260.0030.03720.68
5.6.250.0070.04720.59
5.6.240.0030.08020.57
5.6.230.0100.03020.57
5.6.220.0030.04020.55
5.6.210.0030.04020.68
5.6.200.0030.04320.64
5.6.190.0100.03020.70
5.6.180.0070.08020.65
5.6.170.0100.06720.56
5.6.160.0000.06720.55
5.6.150.0030.08020.62
5.6.140.0030.06020.64
5.6.130.0030.05720.85
5.6.120.0070.06020.84
5.6.110.0000.04320.69
5.6.100.0100.03720.60
5.6.90.0170.06020.63
5.6.80.0100.06019.93
5.6.70.0000.04320.02
5.6.60.0170.08319.89
5.6.50.0070.07020.07
5.6.40.0030.03720.06
5.6.30.0030.06319.99
5.6.20.0100.04319.91
5.6.10.0070.03319.94
5.6.00.0030.07719.97
5.5.380.0100.08017.50
5.5.370.0070.03717.65
5.5.360.0170.04017.68
5.5.350.0000.04717.75
5.5.340.0000.03718.13
5.5.330.0170.03317.93
5.5.320.0170.06717.96
5.5.310.0070.04718.10
5.5.300.0100.08017.95
5.5.290.0030.04718.23
5.5.280.0070.04017.91
5.5.270.0000.04718.07
5.5.260.0070.04318.04
5.5.250.0070.04018.04
5.5.240.0070.03717.30
5.5.230.0000.08717.30
5.5.220.0030.04317.30
5.5.210.0030.04317.45
5.5.200.0000.06017.48
5.5.190.0070.05017.48
5.5.180.0030.04017.58
5.5.160.0070.07717.28
5.5.150.0070.06017.18
5.5.140.0030.04317.46
5.5.130.0030.06717.60
5.5.120.0070.05317.26
5.5.110.0000.05317.30
5.5.100.0030.04717.39
5.5.90.0070.06717.32
5.5.80.0100.07017.20
5.5.70.0030.03317.11
5.5.60.0100.06017.17
5.5.50.0030.04017.15
5.5.40.0030.07017.34
5.5.30.0070.03017.33
5.5.20.0100.03717.07
5.5.10.0100.06317.19
5.5.00.0030.05717.45
5.4.450.0070.08019.55
5.4.440.0100.06719.31
5.4.430.0170.02319.63
5.4.420.0030.04019.53
5.4.410.0070.03719.34
5.4.400.0070.07719.17
5.4.390.0030.07019.01
5.4.380.0000.07319.02
5.4.370.0030.03719.23
5.4.360.0030.07019.18
5.4.350.0070.03718.95
5.4.340.0030.03719.16
5.4.320.0000.04319.22
5.4.310.0100.06019.31
5.4.300.0200.02719.33
5.4.290.0030.03719.01
5.4.280.0100.07019.31
5.4.270.0070.06719.14
5.4.260.0070.03019.18
5.4.250.0000.03719.00
5.4.240.0000.07318.98
5.4.230.0070.04719.24
5.4.220.0070.03719.30
5.4.210.0100.06319.00
5.4.200.0000.04319.13
5.4.190.0100.03019.07
5.4.180.0000.07319.32
5.4.170.0130.05019.07
5.4.160.0030.04019.06
5.4.150.0030.04719.07
5.4.140.0030.03716.44
5.4.130.0130.05316.54
5.4.120.0070.02716.38
5.4.110.0000.06016.47
5.4.100.0030.06016.51
5.4.90.0000.04316.57
5.4.80.0000.03716.39
5.4.70.0000.03716.48
5.4.60.0070.03016.44
5.4.50.0100.07016.53
5.4.40.0170.05716.57
5.4.30.0030.06316.46
5.4.20.0030.07316.28
5.4.10.0030.06016.55
5.4.00.0070.03716.04
5.3.290.0030.07014.66
5.3.280.0170.04014.75
5.3.270.0030.04014.76
5.3.260.0070.08014.74
5.3.250.0070.07014.64
5.3.240.0100.02714.70
5.3.230.0030.03714.58
5.3.220.0100.06014.53
5.3.210.0100.06314.70
5.3.200.0030.04314.60
5.3.190.0000.03314.70
5.3.180.0070.06314.44
5.3.170.0000.04014.56
5.3.160.0030.07014.61
5.3.150.0030.03014.58
5.3.140.0070.06014.57
5.3.130.0100.06314.54
5.3.120.0030.03714.58
5.3.110.0070.03014.70
5.3.100.0000.08014.12
5.3.90.0030.06714.05
5.3.80.0070.06014.09
5.3.70.0070.03314.08
5.3.60.0070.05714.00
5.3.50.0030.07713.95
5.3.40.0070.04314.04
5.3.30.0100.04313.87
5.3.20.0070.07013.93
5.3.10.0070.03713.63
5.3.00.0070.05713.64
5.2.170.0000.03312.19
5.2.160.0030.04312.19
5.2.150.0030.02312.19
5.2.140.0000.03012.19
5.2.130.0030.02312.19
5.2.120.0070.05012.19
5.2.110.0070.06012.19
5.2.100.0030.04012.19
5.2.90.0100.02312.19
5.2.80.0070.02312.19
5.2.70.0030.05012.19
5.2.60.0030.02712.19
5.2.50.0000.03012.19
5.2.40.0070.04712.19
5.2.30.0070.04012.19
5.2.20.0030.03012.19
5.2.10.0030.03712.19
5.2.00.0000.04312.19
5.1.60.0070.05312.19
5.1.50.0130.03012.19
5.1.40.0070.05012.19
5.1.30.0000.05012.19
5.1.20.0030.03012.19
5.1.10.0100.03012.19
5.1.00.0030.03712.19
5.0.50.0030.03312.19
5.0.40.0130.02712.19
5.0.30.0000.06012.19
5.0.20.0070.02312.19
5.0.10.0070.01712.19
5.0.00.0030.03312.19
4.4.90.0000.01712.19
4.4.80.0030.01712.19
4.4.70.0070.02312.19
4.4.60.0100.02712.19
4.4.50.0070.02712.19
4.4.40.0030.04312.19
4.4.30.0000.01712.19
4.4.20.0030.02712.19
4.4.10.0030.01312.19
4.4.00.0030.04012.19
4.3.110.0070.02012.19
4.3.100.0000.01712.19
4.3.90.0000.02012.19
4.3.80.0030.03312.19
4.3.70.0000.02012.19
4.3.60.0000.01712.19
4.3.50.0030.01312.19
4.3.40.0000.02712.19
4.3.30.0030.01312.19
4.3.20.0030.01712.19
4.3.10.0000.01712.19
4.3.00.0030.02312.19

preferences:
40.4 ms | 401 KiB | 5 Q