3v4l.org

run code in 300+ PHP versions simultaneously
<?php $searchArray = array('settings all','print', 'sum', 'industry'); $text = 'Lorem Ipsum is simply dummy text of the printing and typesettings all industry.'; $text = str_replace('.', '', $text); // and any other characters you dont want $checkArray = explode(' ', $text); var_dump(array_intersect($searchArray, $checkArray));

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.4.130.0110.01018.73
8.4.120.0140.00523.89
8.4.110.0120.00522.42
8.4.100.0060.00317.64
8.4.90.0120.00817.71
8.4.80.0130.00717.81
8.4.70.0150.00717.68
8.4.60.0100.00818.77
8.4.50.0110.00822.28
8.4.40.0140.01017.61
8.4.30.0060.00320.37
8.4.20.0030.00617.75
8.4.10.0030.00617.70
8.3.260.0120.00816.43
8.3.250.0140.00518.65
8.3.240.0100.00916.78
8.3.230.0080.01016.76
8.3.220.0110.00816.57
8.3.210.0110.00816.52
8.3.200.0030.00516.23
8.3.190.0120.00716.95
8.3.180.0050.00316.41
8.3.170.0090.00916.97
8.3.160.0090.01020.78
8.3.150.0060.00318.46
8.3.140.0030.01316.40
8.3.130.0030.01216.27
8.3.120.0070.00320.71
8.3.110.0120.00320.94
8.3.100.0160.00024.06
8.3.90.0120.00326.77
8.3.80.0100.00019.36
8.3.70.0140.00416.50
8.3.60.0150.00616.50
8.3.50.0100.00723.56
8.3.40.0120.00618.43
8.3.30.0110.00318.55
8.3.20.0030.00521.61
8.3.10.0080.00021.77
8.3.00.0050.00523.51
8.2.290.0120.00720.28
8.2.280.0090.01018.35
8.2.270.0110.00717.17
8.2.260.0100.00016.32
8.2.250.0040.00418.48
8.2.240.0040.00418.98
8.2.230.0100.00722.58
8.2.220.0080.00037.54
8.2.210.0090.00926.77
8.2.200.0040.00418.88
8.2.190.0000.02016.58
8.2.180.0030.01418.43
8.2.170.0000.01418.96
8.2.160.0080.00522.96
8.2.150.0080.00025.66
8.2.140.0080.00024.66
8.2.130.0060.00326.16
8.2.120.0000.00819.66
8.2.110.0090.00019.27
8.2.100.0120.00017.84
8.2.90.0040.00420.59
8.2.80.0040.00420.39
8.2.70.0080.00017.50
8.2.60.0040.00417.80
8.2.50.0060.00318.07
8.2.40.0000.00918.22
8.2.30.0040.00417.86
8.2.20.0040.00417.88
8.2.10.0030.00319.12
8.2.00.0060.00319.25
8.1.330.0100.01121.82
8.1.320.0140.00516.24
8.1.310.0070.00018.07
8.1.300.0080.00018.71
8.1.290.0030.00630.84
8.1.280.0040.01125.92
8.1.270.0030.00522.05
8.1.260.0000.00726.35
8.1.250.0030.00628.09
8.1.240.0090.00019.14
8.1.230.0000.01020.90
8.1.220.0040.00417.75
8.1.210.0000.00818.97
8.1.200.0030.00617.35
8.1.190.0080.00017.11
8.1.180.0040.00418.10
8.1.170.0000.00818.50
8.1.160.0050.00418.89
8.1.150.0050.00318.86
8.1.140.0030.00520.59
8.1.130.0070.00017.46
8.1.120.0000.00717.46
8.1.110.0040.00417.44
8.1.100.0070.00017.39
8.1.90.0050.00617.34
8.1.80.0030.00517.40
8.1.70.0030.00317.28
8.1.60.0030.00517.54
8.1.50.0000.00717.39
8.1.40.0060.00317.47
8.1.30.0080.00017.66
8.1.20.0000.00817.60
8.1.10.0040.00417.35
8.1.00.0070.00017.37
8.0.300.0070.00020.16
8.0.290.0080.00016.63
8.0.280.0000.00718.39
8.0.270.0000.00817.96
8.0.260.0030.00316.67
8.0.250.0000.00716.88
8.0.240.0040.00416.79
8.0.230.0030.00316.87
8.0.220.0000.00716.80
8.0.210.0030.00316.73
8.0.200.0000.00716.76
8.0.190.0030.00316.99
8.0.180.0030.00616.85
8.0.170.0040.00416.79
8.0.160.0040.00416.84
8.0.150.0040.00416.66
8.0.140.0040.00416.84
8.0.130.0050.00013.33
8.0.120.0040.00416.71
8.0.110.0050.00216.89
8.0.100.0040.00416.90
8.0.90.0030.00616.67
8.0.80.0080.01016.79
8.0.70.0040.00416.81
8.0.60.0000.00816.69
8.0.50.0040.00416.68
8.0.30.0120.00617.04
8.0.20.0070.01816.72
8.0.10.0040.00416.79
8.0.00.0210.00316.64
7.4.330.0000.00516.80
7.4.320.0070.00016.45
7.4.300.0070.00016.40
7.4.290.0030.00316.45
7.4.280.0030.00716.45
7.4.270.0040.00816.36
7.4.260.0000.00513.23
7.4.250.0030.00616.53
7.4.240.0040.00416.50
7.4.230.0050.00216.55
7.4.220.0030.00316.55
7.4.210.0080.00916.54
7.4.200.0070.00016.55
7.4.140.0040.01517.86
7.4.130.0190.00616.57
7.4.120.0090.00816.53
7.4.110.0090.00916.46
7.4.100.0090.00916.30
7.4.90.0120.00816.39
7.4.80.0150.00619.39
7.4.70.0080.00816.45
7.4.60.0140.00316.49
7.4.50.0050.00816.13
7.4.40.0120.00916.49
7.4.20.0100.01016.23
7.4.10.0120.01216.38
7.4.00.0120.00616.22
7.3.330.0030.00316.27
7.3.320.0050.00012.86
7.3.310.0040.00416.13
7.3.300.0000.00716.03
7.3.290.0090.00916.15
7.3.280.0150.00016.13
7.3.260.0070.01116.30
7.3.240.0080.01116.19
7.3.230.0140.00316.47
7.3.210.0120.00416.09
7.3.200.0060.01516.37
7.3.190.0080.00816.23
7.3.180.0090.00616.05
7.3.170.0150.00816.17
7.3.160.0100.00616.03
7.3.130.0130.01316.35
7.3.120.0120.00916.35
7.3.110.0110.01116.12
7.3.100.0100.00616.30
7.3.90.0080.01416.22
7.3.80.0120.00616.12
7.3.70.0070.01416.18
7.3.60.0100.00716.25
7.3.50.0100.01116.14
7.3.40.0100.01016.23
7.3.30.0030.01316.13
7.3.20.0120.00616.12
7.3.10.0090.00916.15
7.3.00.0110.00616.20
7.2.330.0120.00616.62
7.2.320.0070.01716.42
7.2.310.0100.00716.56
7.2.300.0150.00616.51
7.2.290.0120.00616.59
7.2.260.0130.00916.48
7.2.250.0060.01216.62
7.2.240.0090.01516.29
7.2.230.0130.00616.53
7.2.220.0050.01416.40
7.2.210.0000.02216.53
7.2.200.0090.01216.51
7.2.190.0050.01816.36
7.2.180.0150.00916.54
7.2.170.0030.01616.32
7.2.160.0090.01216.53
7.2.150.0100.00716.41
7.2.140.0140.01016.34
7.2.130.0110.00716.57
7.2.120.0100.00616.43
7.2.110.0130.00416.38
7.2.100.0030.01316.38
7.2.90.0120.00916.32
7.2.80.0120.00616.44
7.2.70.0160.00016.50
7.2.60.0090.01116.50
7.2.50.0030.01316.39
7.2.40.0030.01516.71
7.2.30.0140.01016.48
7.2.20.0120.01216.51
7.2.10.0110.00716.36
7.2.00.0140.00516.58

preferences:
30.42 ms | 403 KiB | 5 Q