3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data_billding= array( 'first_name' => "<b>hello</b>", 'last_name' => "<i>hello</i>", 'email' => "\hello", 'phone' => "he\llo", 'address' => "<h1>hello</h1>", ); function change($value, $key){ $key = stripslashes(strip_tags($key)); $value = stripslashes(strip_tags($value)); global $a; $a[] = array($key => $value); //print_r($a); } array_walk_recursive($data_billding, "change"); print_r($a); function my_function($value){ return stripslashes(strip_tags($value)); } /*trả về array chứa value nếu hàm my_function trả về TRUe*/ print_r(array_filter($data_billding,"my_function")); ?>

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.0040.01218.43
8.3.50.0150.00616.40
8.3.40.0060.00918.54
8.3.30.0060.00918.63
8.3.20.0020.00518.97
8.3.10.0030.00620.90
8.3.00.0030.00617.80
8.2.180.0100.00716.75
8.2.170.0000.01422.96
8.2.160.0100.00319.17
8.2.150.0080.00024.18
8.2.140.0050.00324.66
8.2.130.0070.00426.16
8.2.120.0030.00619.77
8.2.110.0060.00320.57
8.2.100.0090.00317.72
8.2.90.0040.00417.75
8.2.80.0090.00018.73
8.2.70.0030.00617.80
8.2.60.0000.00917.80
8.2.50.0040.00418.10
8.2.40.0000.00821.09
8.2.30.0040.00419.39
8.2.20.0030.00618.04
8.2.10.0030.00518.07
8.2.00.0000.00721.24
8.1.280.0070.00725.92
8.1.270.0080.00022.06
8.1.260.0050.00326.35
8.1.250.0040.00428.09
8.1.240.0060.00323.60
8.1.230.0070.00420.89
8.1.220.0060.00318.57
8.1.210.0050.00318.77
8.1.200.0050.00317.34
8.1.190.0030.00517.13
8.1.180.0000.00818.10
8.1.170.0000.00918.66
8.1.160.0000.00718.76
8.1.150.0040.00418.78
8.1.140.0040.00417.65
8.1.130.0030.00519.02
8.1.120.0000.01017.41
8.1.110.0000.00717.32
8.1.100.0000.00717.31
8.1.90.0040.00417.46
8.1.80.0000.00717.36
8.1.70.0030.00317.37
8.1.60.0060.00317.42
8.1.50.0040.00417.36
8.1.40.0040.00417.42
8.1.30.0060.00617.57
8.1.20.0040.00417.61
8.1.10.0030.00617.60
8.1.00.0000.00817.34
8.0.300.0040.00418.77
8.0.290.0040.00416.63
8.0.280.0030.00318.45
8.0.270.0000.00717.27
8.0.260.0060.00317.23
8.0.250.0000.00716.95
8.0.240.0070.00016.91
8.0.230.0080.00316.96
8.0.220.0030.00316.86
8.0.210.0030.00316.84
8.0.200.0040.00416.73
8.0.190.0030.00516.82
8.0.180.0040.00416.75
8.0.170.0000.00816.88
8.0.160.0000.00716.81
8.0.150.0000.00716.76
8.0.140.0030.00616.66
8.0.130.0030.00313.27
8.0.120.0000.00716.77
8.0.110.0050.00316.68
8.0.100.0030.00516.75
8.0.90.0080.00016.95
8.0.80.0090.00916.77
8.0.70.0070.00016.64
8.0.60.0040.00416.68
8.0.50.0080.00016.89
8.0.30.0100.01017.00
8.0.20.0080.01317.40
8.0.10.0030.00316.83
8.0.00.0160.00416.77
7.4.330.0020.00215.55
7.4.320.0030.00716.35
7.4.300.0000.00816.40
7.4.290.0000.00716.45
7.4.280.0030.00516.45
7.4.270.0030.00316.54
7.4.260.0030.00316.54
7.4.250.0040.00416.52
7.4.240.0000.00716.32
7.4.230.0030.00316.59
7.4.220.0040.00416.29
7.4.210.0100.00516.51
7.4.200.0040.00316.20
7.4.160.0100.00816.54
7.4.140.0100.00717.86
7.4.130.0130.00316.43
7.4.120.0110.00916.47
7.4.110.0130.00316.65
7.4.100.0060.01016.48
7.4.90.0130.01016.38
7.4.80.0120.00619.39
7.4.70.0170.00616.39
7.4.60.0100.00616.43
7.4.50.0070.01016.53
7.4.40.0060.01416.50
7.4.00.0030.01214.92
7.3.330.0000.00513.28
7.3.320.0000.00513.31
7.3.310.0030.00316.32
7.3.300.0030.00316.27
7.3.290.0000.00716.23
7.3.280.0110.00916.35
7.3.260.0120.00516.61
7.3.240.0090.00916.34
7.3.230.0090.00916.36
7.3.210.0090.01316.27
7.3.200.0100.01016.51
7.3.190.0160.00016.37
7.3.180.0060.01016.71
7.3.170.0160.00316.59
7.3.160.0090.00916.39
7.2.330.0090.01316.29
7.2.320.0130.00616.48
7.2.310.0030.01416.80
7.2.300.0070.01116.69
7.2.290.0110.01116.76
7.2.60.2710.01214.75
7.2.50.1390.01414.85
7.2.40.1980.01115.25
7.2.30.1780.00815.52
7.2.20.2030.01215.36
7.2.10.1860.01315.64
7.2.00.1900.01215.15
7.1.200.0060.00615.80
7.1.170.1710.00713.75
7.1.160.0120.01716.85
7.1.150.1750.01716.91
7.1.140.1790.01517.01
7.1.130.1950.01616.80
7.1.120.1930.01116.96
7.1.110.1460.01216.32
7.1.100.1570.01215.95
7.1.90.1750.01216.55
7.1.80.1630.00815.99
7.1.70.1390.01015.47
7.1.60.1960.01432.95
7.1.50.2020.01533.01
7.1.40.2190.01832.62
7.1.30.2180.01632.62
7.1.20.1680.01632.59
7.1.10.1450.01014.93
7.1.00.1980.01214.88

preferences:
58.53 ms | 401 KiB | 5 Q