3v4l.org

run code in 300+ PHP versions simultaneously
<?php $oldArray = array(('_wpcf7') => '3', ('_wpcf7_version') => '4.9.2', ('_wpcf7_locale') => 'en_US', ('_wpcf7_unit_tag') => 'wpcf7-f3-p2-o1', ('_wpcf7_container_post') => '2', ('your-name') => 'sad', ('your-subject') => 'sad', ('your-message') => 'sdsa'); $newArray = array(); foreach($oldArray as $key => $value) { if (substr($key,0,6) !== '_wpcf7') $newArray[$key] = $value; } print_r($newArray);

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.5.00.0110.01019.86
8.4.150.0010.00114.05
8.4.140.0110.00917.62
8.4.130.0140.00717.71
8.4.120.0080.00920.86
8.4.110.0100.01122.60
8.4.100.0100.01117.76
8.4.90.0070.01322.59
8.4.80.0130.00719.65
8.4.70.0060.01318.13
8.4.60.0030.00518.88
8.4.50.0100.00920.56
8.4.40.0060.00319.26
8.4.30.0160.00317.69
8.4.20.0100.01019.32
8.4.10.0160.00319.63
8.3.280.0100.01018.22
8.3.270.0080.01116.80
8.3.260.0110.00916.82
8.3.250.0080.00718.91
8.3.240.0020.00716.53
8.3.230.0090.01016.49
8.3.220.0040.00418.91
8.3.210.0120.00618.44
8.3.200.0020.00616.66
8.3.190.0130.00617.20
8.3.180.0070.00816.36
8.3.170.0150.00317.36
8.3.160.0000.00720.10
8.3.150.0150.00319.10
8.3.140.0120.00616.79
8.3.130.0090.00018.34
8.3.120.0000.00920.78
8.3.110.0130.00616.63
8.3.100.0090.00024.06
8.3.90.0040.00426.77
8.3.80.0060.00616.50
8.3.70.0070.00718.43
8.3.60.0110.00716.63
8.3.50.0080.00517.31
8.3.40.0090.00618.67
8.3.30.0110.00718.79
8.3.20.0070.00021.90
8.3.10.0040.00423.50
8.3.00.0040.00421.45
8.2.290.0090.00920.74
8.2.280.0100.00518.38
8.2.270.0150.00417.30
8.2.260.0110.00917.23
8.2.250.0080.00016.45
8.2.240.0040.00817.15
8.2.230.0040.00420.94
8.2.220.0100.00637.54
8.2.210.0000.00826.77
8.2.200.0060.00316.75
8.2.190.0070.00716.63
8.2.180.0110.00418.16
8.2.170.0180.00022.96
8.2.160.0090.00618.88
8.2.150.0040.00425.66
8.2.140.0040.00424.66
8.2.130.0030.00626.16
8.2.120.0040.00421.00
8.2.110.0060.01020.57
8.2.100.0110.00417.83
8.2.90.0040.00419.34
8.2.80.0000.00818.73
8.2.70.0050.00317.75
8.2.60.0000.00817.63
8.2.50.0080.00017.63
8.2.40.0040.00420.61
8.2.30.0040.00419.32
8.2.20.0050.00218.18
8.2.10.0030.00518.13
8.2.00.0030.00318.19
8.1.330.0090.00821.85
8.1.320.0100.01016.29
8.1.310.0140.00418.56
8.1.300.0120.00619.63
8.1.290.0060.00318.88
8.1.280.0100.01025.92
8.1.270.0080.00021.96
8.1.260.0030.00526.35
8.1.250.0080.00028.09
8.1.240.0030.00619.19
8.1.230.0120.00020.95
8.1.220.0000.00818.74
8.1.210.0040.00418.77
8.1.200.0000.00817.48
8.1.190.0000.00817.23
8.1.180.0000.00818.10
8.1.170.0030.00618.72
8.1.160.0040.00418.81
8.1.150.0040.00418.80
8.1.140.0040.00419.03
8.1.130.0000.00717.59
8.1.120.0080.00017.51
8.1.110.0050.00317.44
8.1.100.0000.00717.35
8.1.90.0080.00017.45
8.1.80.0000.00717.46
8.1.70.0000.00817.45
8.1.60.0090.00017.59
8.1.50.0040.00417.55
8.1.40.0000.00817.49
8.1.30.0090.00017.66
8.1.20.0040.00417.70
8.1.10.0070.00017.48
8.1.00.0030.00517.42
8.0.300.0040.00418.77
8.0.290.0040.00416.75
8.0.280.0000.00718.40
8.0.270.0020.00516.89
8.0.260.0080.00017.12
8.0.250.0030.00316.96
8.0.240.0030.00716.99
8.0.230.0000.00716.95
8.0.220.0090.00316.88
8.0.210.0070.00016.89
8.0.200.0000.00616.92
8.0.190.0000.00816.87
8.0.180.0000.00716.80
8.0.170.0030.00616.98
8.0.160.0000.00816.96
8.0.150.0000.00716.93
8.0.140.0000.00716.87
8.0.130.0040.00413.36
8.0.120.0000.00716.77
8.0.110.0000.00716.88
8.0.100.0000.00716.79
8.0.90.0050.00216.87
8.0.80.0040.01116.86
8.0.70.0000.00716.68
8.0.60.0070.00016.82
8.0.50.0040.00416.75
8.0.30.0070.00917.12
8.0.20.0090.01117.40
8.0.10.0000.00716.87
8.0.00.0120.00716.94
7.4.330.0060.00015.55
7.4.320.0060.00016.58
7.4.300.0000.00616.46
7.4.290.0030.00616.55
7.4.280.0000.00716.64
7.4.270.0070.00016.52
7.4.260.0080.00016.42
7.4.250.0050.00216.52
7.4.240.0000.00716.62
7.4.230.0030.00316.64
7.4.220.0000.00816.63
7.4.210.0110.00316.53
7.4.200.0070.00016.66
7.4.160.0110.00516.61
7.4.150.0160.00617.40
7.4.140.0100.01117.86
7.4.130.0060.01116.55
7.4.120.0090.01016.48
7.4.110.0090.00916.35
7.4.100.0130.00316.45
7.4.90.0070.01016.67
7.4.80.0140.00319.39
7.4.70.0090.00916.55
7.4.60.0080.01716.42
7.4.50.0110.00716.26
7.4.40.0130.00916.47
7.4.10.0070.01115.14
7.4.00.0030.01014.73
7.3.330.0000.00513.26
7.3.320.0050.00013.27
7.3.310.0040.00416.34
7.3.300.0000.00716.20
7.3.290.0030.00316.29
7.3.280.0060.00816.36
7.3.270.0090.00917.40
7.3.260.0080.01016.36
7.3.250.0090.00716.49
7.3.240.0090.01016.56
7.3.230.0070.01116.44
7.3.210.0140.00316.43
7.3.200.0060.01116.47
7.3.190.0160.00016.59
7.3.180.0130.00716.29
7.3.170.0030.01316.33
7.3.160.0060.00916.46
7.3.130.0090.00614.86
7.3.120.0070.01214.96
7.3.110.0080.00914.72
7.3.100.0070.00714.99
7.3.90.0100.00314.99
7.3.80.0060.00914.86
7.3.70.0060.00614.88
7.3.60.0040.01114.71
7.3.50.0090.00514.69
7.3.40.0030.00714.80
7.3.30.0030.01014.65
7.3.20.0050.00716.69
7.3.10.0080.00716.74
7.3.00.0090.00316.75
7.2.330.0070.01116.63
7.2.320.0160.00716.48
7.2.310.0180.00316.71
7.2.300.0100.01616.86
7.2.290.0070.01016.54
7.2.260.0060.01315.15
7.2.250.0110.00714.70
7.2.240.0030.01415.11
7.2.230.0040.01315.01
7.2.220.0070.00715.00
7.2.210.0030.01015.18
7.2.200.0050.00614.93
7.2.190.0040.01115.11
7.2.180.0080.00515.03
7.2.170.0050.00915.03
7.2.160.0030.01214.95
7.2.150.0090.00817.01
7.2.140.0070.00716.89
7.2.130.0030.01016.88
7.2.120.0030.01116.90
7.2.110.0060.01116.91
7.2.100.0100.00716.72
7.2.90.0060.00717.00
7.2.80.0080.01017.00
7.2.70.0070.00916.89
7.2.60.0050.01016.79
7.2.50.0050.00816.78
7.2.40.0040.01116.77
7.2.30.0090.00916.98
7.2.20.0050.00816.85
7.2.10.0120.00917.24
7.2.00.0090.01017.32
7.1.330.0050.00815.63
7.1.320.0080.00615.81
7.1.310.0120.00015.86
7.1.300.0060.00815.84
7.1.290.0040.00615.57
7.1.280.0060.00915.85
7.1.270.0050.00915.69
7.1.260.0050.00815.97
7.1.250.0080.00515.81
7.1.240.0030.01015.71
7.1.230.0090.00315.75
7.1.220.0040.01115.52
7.1.210.0040.00715.52
7.1.200.0040.00915.85
7.1.190.0000.01115.89
7.1.180.0040.01115.83
7.1.170.0100.00315.81
7.1.160.0030.01015.70
7.1.150.0000.01415.94
7.1.140.0090.00615.84
7.1.130.0080.00415.70
7.1.120.0130.00516.33
7.1.110.0140.00515.92
7.1.100.0140.00815.77
7.1.90.0120.00816.05
7.1.80.0150.00815.91
7.1.70.0150.00515.45
7.1.60.0220.00724.57
7.1.50.0160.01024.25
7.1.40.0190.00724.28
7.1.30.0210.00824.13
7.1.20.0190.00724.11
7.1.10.0080.01215.38
7.1.00.0110.00715.41
7.0.330.0070.00715.25
7.0.320.0040.00715.54
7.0.310.0030.01015.54
7.0.300.0100.00315.63
7.0.290.0040.00415.06
7.0.280.0040.01115.37
7.0.270.0000.01315.15
7.0.260.0040.00715.10
7.0.250.0100.00315.25
7.0.240.0030.01015.64
7.0.230.0030.01015.61
7.0.220.0060.00615.40
7.0.210.0000.01115.45
7.0.200.0000.00915.40
7.0.190.0030.00915.27
7.0.180.0060.00915.56
7.0.170.0070.00415.43
7.0.160.0060.00615.38
7.0.150.0030.00915.54
7.0.140.0050.00515.45
7.0.130.0030.00715.50
7.0.120.0030.00915.48
7.0.110.0040.00415.52
7.0.100.0060.00615.44
7.0.90.0000.01515.47
7.0.80.0030.00715.49
7.0.70.0070.00315.48
7.0.60.0060.00915.27
7.0.50.0040.00815.40
7.0.40.0120.00313.51
7.0.30.0000.01313.23
7.0.20.0050.00513.48
7.0.10.0060.00613.52
7.0.00.0040.00813.51
5.6.400.0000.01814.83
5.6.390.0040.00814.43
5.6.380.0100.00314.56
5.6.370.0100.01014.33
5.6.360.0070.00714.23
5.6.350.0060.00614.56
5.6.340.0040.01114.74
5.6.330.0030.01314.76
5.6.320.0070.01014.15
5.6.310.0000.00914.37
5.6.300.0000.01114.56
5.6.290.0000.01214.30
5.6.280.0090.00314.45
5.6.270.0030.00614.60
5.6.260.0090.00614.44
5.6.250.0070.00714.77
5.6.240.0030.00614.46
5.6.230.0090.00314.39
5.6.220.0080.00314.28
5.6.210.0080.00814.43
5.6.200.0030.00714.24
5.6.190.0070.00714.39
5.6.180.0030.01214.23
5.6.170.0060.00814.40
5.6.160.0000.01514.52
5.6.150.0070.00714.59
5.6.140.0040.01114.32
5.6.130.0040.00414.57
5.6.120.0090.00614.26
5.6.110.0000.01014.09
5.6.100.0060.00314.36
5.6.90.0080.00414.35
5.6.80.0030.01014.24
5.6.70.0040.00414.30
5.6.60.0060.00314.19
5.6.50.0030.00714.34
5.6.40.0100.00314.61
5.6.30.0040.01114.68
5.6.20.0040.01114.14
5.6.10.0100.00314.35
5.6.00.0070.00314.33

preferences:
35.24 ms | 403 KiB | 5 Q