3v4l.org

run code in 300+ PHP versions simultaneously
<?php $b = '348'; var_dump(preg_match('/\b'.$b.'\b/','348,12, 47',$matches)); print_r($matches);

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.10.0030.00619.68
8.3.140.0070.01117.08
8.3.130.0080.00018.65
8.3.120.0040.00418.96
8.3.110.0040.00420.94
8.3.100.0040.00424.06
8.3.90.0070.00026.77
8.3.80.0030.00616.50
8.3.70.0130.01018.43
8.3.60.0000.01418.31
8.3.50.0150.00524.49
8.3.40.0170.00318.84
8.3.30.0070.01018.84
8.3.20.0000.00721.90
8.3.10.0060.00321.92
8.3.00.0040.00423.64
8.2.260.0000.01516.89
8.2.250.0050.00318.80
8.2.240.0030.00517.44
8.2.230.0030.00622.58
8.2.220.0090.00037.54
8.2.210.0040.00426.77
8.2.200.0040.00416.88
8.2.190.0110.00716.58
8.2.180.0070.01118.54
8.2.170.0060.01222.96
8.2.160.0100.00322.19
8.2.150.0070.00024.18
8.2.140.0080.00024.66
8.2.130.0080.00026.16
8.2.120.0000.00826.16
8.2.110.0030.00722.25
8.2.100.0030.00717.78
8.2.90.0000.00819.26
8.2.80.0040.00417.97
8.2.70.0000.00917.63
8.2.60.0040.00417.90
8.2.50.0030.00518.07
8.2.40.0040.00418.22
8.2.30.0000.00719.45
8.2.20.0050.00217.95
8.2.10.0040.00419.13
8.2.00.0000.00719.26
8.1.310.0060.00316.41
8.1.300.0050.00218.16
8.1.290.0040.00430.84
8.1.280.0100.01025.92
8.1.270.0070.00021.89
8.1.260.0000.00826.35
8.1.250.0030.00528.09
8.1.240.0070.00421.02
8.1.230.0070.00417.79
8.1.220.0040.00417.74
8.1.210.0000.00918.77
8.1.200.0040.00417.48
8.1.190.0070.00017.22
8.1.180.0000.00918.10
8.1.170.0040.00418.71
8.1.160.0040.00418.94
8.1.150.0000.00718.86
8.1.140.0000.00718.81
8.1.130.0040.00417.49
8.1.120.0000.00717.57
8.1.110.0040.00417.62
8.1.100.0000.00717.57
8.1.90.0050.00317.61
8.1.80.0030.00517.59
8.1.70.0000.00717.58
8.1.60.0030.00617.62
8.1.50.0000.00817.49
8.1.40.0000.00817.72
8.1.30.0000.00817.75
8.1.20.0080.00017.86
8.1.10.0080.00017.66
8.1.00.0060.00317.45
8.0.300.0040.00418.77
8.0.290.0040.00416.88
8.0.280.0060.00318.48
8.0.270.0030.00318.14
8.0.260.0030.00517.00
8.0.250.0070.00017.06
8.0.240.0070.00016.97
8.0.230.0030.00517.06
8.0.220.0000.00716.92
8.0.210.0000.00717.03
8.0.200.0070.00017.10
8.0.190.0040.00417.06
8.0.180.0000.00817.08
8.0.170.0030.00617.04
8.0.160.0000.00716.92
8.0.150.0050.00216.99
8.0.140.0030.00617.03
8.0.130.0000.00513.41
8.0.120.0000.00817.03
8.0.110.0050.00317.08
8.0.100.0050.00316.83
8.0.90.0090.00017.09
8.0.80.0050.01117.04
8.0.70.0000.00716.99
8.0.60.0040.00416.99
8.0.50.0070.00016.82
8.0.30.0170.00717.06
8.0.20.0110.00717.39
8.0.10.0040.00417.10
8.0.00.0100.00716.89
7.4.330.0030.00315.55
7.4.320.0030.00316.59
7.4.300.0000.00616.64
7.4.290.0030.00316.63
7.4.280.0000.00816.63
7.4.270.0040.00416.73
7.4.260.0000.00613.40
7.4.250.0040.00416.55
7.4.240.0000.00716.78
7.4.230.0000.00716.76
7.4.220.0050.00216.64
7.4.210.0070.00816.71
7.4.200.0030.00316.76
7.4.130.0040.01416.64
7.4.120.0060.01516.71
7.4.110.0180.02916.58
7.4.100.0030.01316.68
7.4.90.0180.00616.66
7.4.80.0100.00719.39
7.4.70.0070.01016.56
7.4.60.0130.00316.58
7.4.50.0110.00016.41
7.4.40.0120.01216.35
7.4.30.0130.00416.51
7.4.20.0050.01616.39
7.4.10.0220.00016.50
7.4.00.0060.01116.55
7.3.330.0030.00316.54
7.3.320.0050.00013.14
7.3.310.0030.00316.49
7.3.300.0030.00516.40
7.3.290.0090.00716.45
7.3.280.0090.00616.37
7.3.260.0100.01016.44
7.3.240.0120.00416.51
7.3.230.0140.00716.79
7.3.210.0080.00816.40
7.3.200.0130.00516.69
7.3.190.0120.00316.45
7.3.180.0150.00316.55
7.3.170.0060.01116.41
7.3.160.0130.00616.27
7.3.150.0120.00616.35
7.3.140.0110.00716.34
7.3.130.0090.00916.18
7.3.120.0100.00816.09
7.3.110.0120.00616.31
7.3.100.0120.00816.45
7.3.90.0130.00416.38
7.3.80.0130.00616.39
7.3.70.0140.00416.30
7.3.60.0090.00916.23
7.3.50.0130.00516.43
7.3.40.0150.00616.19
7.3.30.0110.00816.24
7.3.20.0160.01016.36
7.3.10.0030.01616.25
7.3.00.0160.00416.30
7.2.330.0090.00916.76
7.2.320.0080.00816.86
7.2.310.0160.00016.61
7.2.300.0080.00916.53
7.2.290.0120.00916.58
7.2.280.0140.00716.38
7.2.270.0140.00716.33
7.2.260.0070.01116.27
7.2.250.0090.01216.54
7.2.240.0120.01116.32
7.2.230.0130.00716.64
7.2.220.0180.00316.41
7.2.210.0090.01216.35
7.2.200.0070.01316.43
7.2.190.0170.00616.56
7.2.180.0120.00816.41
7.2.170.0150.00916.48
7.2.160.0110.00816.60
7.2.150.0060.01416.59
7.2.140.0110.01116.55
7.2.130.0110.01116.46
7.2.120.0110.01116.38
7.2.110.0250.00316.21
7.2.100.0120.01416.60
7.2.90.0110.01516.68
7.2.80.0070.02016.27
7.2.70.0280.00416.46
7.2.60.0150.00916.37
7.2.50.0190.00316.39
7.2.40.0080.01416.34
7.2.30.0200.00716.50
7.2.20.0180.00316.38
7.2.10.0090.01216.43
7.2.00.0130.00616.79

preferences:
31.73 ms | 403 KiB | 5 Q