3v4l.org

run code in 300+ PHP versions simultaneously
<?php $blacklist = ['fu', 'bar']; $input = 'benutzer Eingabe fu bar'; $count = preg_match_all('/(' . implode('|', $blacklist) . ')/i', $input, $matches); If ($count > 0) { echo 'Böse Wörter: ' . implode(', ', $matches[0]); }

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.20.0110.00816.82
8.5.10.0110.00917.02
8.5.00.0110.00920.03
8.4.160.0120.00823.70
8.4.150.0010.00014.05
8.4.140.0140.00717.58
8.4.130.0160.00517.80
8.4.120.0090.01322.44
8.4.110.0140.00822.57
8.4.100.0110.00917.97
8.4.90.0120.00518.88
8.4.80.0120.00817.84
8.4.70.0150.00718.09
8.4.60.0160.00525.83
8.4.50.0110.01318.76
8.4.40.0100.00617.88
8.4.30.0150.00620.35
8.4.20.0100.01017.94
8.4.10.0040.00422.38
8.3.290.0120.01020.63
8.3.280.0100.01018.57
8.3.270.0120.00816.35
8.3.260.0110.00816.88
8.3.250.0040.00518.95
8.3.240.0090.01016.75
8.3.230.0130.00516.65
8.3.220.0040.00317.20
8.3.210.0080.00216.77
8.3.200.0050.00316.68
8.3.190.0060.01217.01
8.3.180.0120.00316.61
8.3.170.0110.00317.21
8.3.160.0110.00416.72
8.3.150.0140.00716.83
8.3.140.0110.00416.66
8.3.130.0110.00016.74
8.3.120.0090.01219.16
8.3.110.0040.00420.94
8.3.100.0040.00424.06
8.3.90.0080.00026.77
8.3.80.0030.00616.88
8.3.70.0110.00318.68
8.3.60.0040.01518.68
8.3.50.0100.00724.59
8.3.40.0080.00818.93
8.3.30.0210.00018.66
8.3.20.0040.00424.18
8.3.10.0090.00024.66
8.3.00.0080.00026.16
8.2.300.0120.00922.34
8.2.290.0110.00720.82
8.2.280.0100.00418.69
8.2.270.0040.01517.06
8.2.260.0090.00917.22
8.2.250.0070.00716.73
8.2.240.0100.00618.75
8.2.230.0050.00322.58
8.2.220.0110.00037.54
8.2.210.0080.00026.77
8.2.200.0090.00016.88
8.2.190.0110.00716.88
8.2.180.0100.01025.92
8.2.170.0090.00619.07
8.2.160.0070.01022.96
8.2.150.0030.00625.66
8.2.140.0020.00524.66
8.2.130.0040.00426.16
8.2.120.0030.00619.76
8.2.110.0040.00922.23
8.2.100.0080.00419.39
8.2.90.0060.00320.61
8.2.80.0060.00320.49
8.2.70.0050.00317.88
8.2.60.0050.00517.88
8.2.50.0000.00817.75
8.2.40.0000.00819.73
8.2.30.0050.00318.16
8.2.20.0050.00318.22
8.2.10.0050.00319.29
8.2.00.0030.00519.32
8.1.340.0120.01117.68
8.1.330.0110.00822.13
8.1.320.0120.00716.36
8.1.310.0030.00618.57
8.1.300.0030.00618.39
8.1.290.0120.00018.88
8.1.280.0070.01025.92
8.1.270.0000.00823.99
8.1.260.0070.00026.35
8.1.250.0000.00728.09
8.1.240.0090.00020.84
8.1.230.0000.01120.87
8.1.220.0030.00617.77
8.1.210.0040.00418.95
8.1.200.0000.00817.35
8.1.190.0080.00017.35
8.1.180.0040.00418.10
8.1.170.0060.00317.62
8.1.160.0040.00418.88
8.1.150.0000.00718.85
8.1.140.0040.00418.86
8.1.130.0000.00720.21
8.1.120.0040.00417.62
8.1.110.0030.00517.50
8.1.100.0080.00017.50
8.1.90.0070.00017.56
8.1.80.0040.00517.57
8.1.70.0000.00717.50
8.1.60.0090.00017.66
8.1.50.0000.00817.64
8.1.40.0040.00417.64
8.1.30.0030.00517.77
8.1.20.0000.00817.64
8.1.10.0050.00317.75
8.1.00.0030.00617.61
8.0.300.0070.00020.14
8.0.290.0040.00416.75
8.0.280.0000.00820.18
8.0.270.0000.00718.16
8.0.260.0040.00418.48
8.0.250.0000.00717.09
8.0.240.0030.00317.13
8.0.230.0030.00317.14
8.0.220.0030.00316.98
8.0.210.0000.00716.95
8.0.200.0000.00617.09
8.0.190.0000.00717.11
8.0.180.0000.00717.04
8.0.170.0030.00517.04
8.0.160.0040.00417.00
8.0.150.0030.00517.03
8.0.140.0000.00817.03
8.0.130.0060.00013.52
8.0.120.0070.00016.90
8.0.110.0050.00217.01
8.0.100.0050.00217.16
8.0.90.0000.00816.86
8.0.80.0110.00716.93
8.0.70.0000.00716.95
8.0.60.0040.00416.81
8.0.50.0000.00816.95
8.0.30.0130.00316.89
8.0.20.0120.01217.18
8.0.10.0140.00617.40
8.0.00.0090.00917.32
7.4.330.0050.00016.79
7.4.320.0000.00716.56
7.4.300.0000.00816.51
7.4.290.0080.00016.58
7.4.280.0030.00716.77
7.4.270.0000.00716.66
7.4.260.0030.00313.40
7.4.250.0080.00016.73
7.4.240.0070.00016.68
7.4.230.0070.00016.56
7.4.220.0020.00516.56
7.4.210.0130.00616.76
7.4.200.0030.00316.72
7.4.150.0110.00616.52
7.4.140.0100.00716.77
7.4.130.0120.00616.50
7.4.120.0070.01116.64
7.4.110.0030.01416.40
7.4.100.0120.00416.31
7.4.90.0000.01816.64
7.4.80.0090.01016.64
7.4.70.0060.01216.31
7.4.60.0040.01316.62
7.4.50.0090.00916.66
7.4.40.0190.00016.70
7.4.30.0070.01116.63
7.4.20.0100.01616.39
7.4.10.0150.00616.68
7.4.00.0100.00616.64
7.3.330.0040.00416.31
7.3.320.0000.00613.21
7.3.310.0040.00416.53
7.3.300.0030.00316.47
7.3.290.0060.01116.47
7.3.270.0070.01116.51
7.3.260.0070.01116.46
7.3.250.0120.00616.64
7.3.240.0040.01316.59
7.3.230.0030.01316.71
7.3.220.0150.00316.71
7.3.210.0090.00916.20
7.3.200.0180.00016.63
7.3.190.0080.00816.25
7.3.180.0030.01316.25
7.3.170.0070.01016.42
7.3.160.0130.00316.31
7.3.150.0070.01016.53
7.3.140.0030.01316.43
7.3.130.0060.00916.48
7.3.120.0070.01116.59
7.3.110.0100.00616.68
7.3.100.0060.01216.63
7.3.90.0040.01416.52
7.3.80.0130.00316.71
7.3.70.0040.01216.42
7.3.60.0110.01116.43
7.3.50.0060.00916.30
7.3.40.0060.01016.50
7.3.30.0030.01316.47
7.3.20.0070.01016.50
7.3.10.0160.00016.42
7.3.00.0120.00816.32

preferences:
37.66 ms | 403 KiB | 5 Q