3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo preg_match('/Я/ui', 'я'); echo preg_match('/(?=Я)/ui', 'я'); echo preg_match('/Л/ui', 'л'); echo preg_match('/(?=Л)/ui', 'л');

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.1.110.0040.00417.36
8.1.100.0000.00817.50
8.1.90.0060.00617.36
8.1.80.0040.00417.48
8.1.70.0000.00717.51
8.1.60.0030.00617.63
8.1.50.0040.00417.53
8.1.40.0030.00517.59
8.1.30.0000.00817.67
8.1.20.0040.00417.71
8.1.10.0040.00417.49
8.1.00.0050.00317.52
8.0.240.0040.00417.05
8.0.230.0040.00417.00
8.0.220.0030.00316.89
8.0.210.0030.00317.02
8.0.200.0090.00016.98
8.0.190.0030.00417.12
8.0.180.0040.00417.02
8.0.170.0000.00916.93
8.0.160.0050.00316.99
8.0.150.0000.00716.92
8.0.140.0030.00416.92
8.0.130.0030.00313.44
8.0.120.0070.00017.02
8.0.110.0000.00717.01
8.0.100.0000.00717.03
8.0.90.0060.00317.05
8.0.80.0090.00616.98
8.0.70.0050.00316.87
8.0.60.0030.00516.86
8.0.50.0080.00017.09
8.0.30.0150.00917.32
8.0.20.0090.00917.07
8.0.10.0040.00416.98
8.0.00.0120.00716.80
7.4.300.0000.00616.66
7.4.290.0000.00716.76
7.4.280.0090.00016.73
7.4.270.0070.00016.63
7.4.260.0030.00616.63
7.4.250.0030.00316.51
7.4.240.0020.00616.70
7.4.230.0000.00716.44
7.4.220.0030.00316.75
7.4.210.0060.01016.64
7.4.200.0050.00316.72
7.4.130.0070.01016.79
7.4.120.0100.00716.71
7.4.110.0120.00616.68
7.4.100.0090.00916.70
7.4.90.0090.00916.53
7.4.80.0120.00919.39
7.4.70.0070.01416.66
7.4.60.0110.01116.59
7.4.50.0160.00316.45
7.4.40.0100.00616.84
7.4.00.0080.01015.14
7.3.330.0030.00316.16
7.3.320.0000.00613.05
7.3.310.0040.00416.44
7.3.300.0070.00016.34
7.3.290.0030.00316.34
7.3.280.0060.00916.26
7.3.260.0090.00916.41
7.3.240.0130.00616.56
7.3.230.0130.01316.50
7.3.210.0060.00916.75
7.3.200.0100.01316.54
7.3.190.0100.00616.61
7.3.180.0090.00616.75
7.3.170.0110.00416.26
7.3.160.0060.01016.62
7.3.120.0070.01014.81
7.3.110.0100.00514.74
7.3.100.0050.01214.82
7.3.90.0090.00714.65
7.3.80.0050.00914.72
7.3.70.0070.00414.67
7.3.60.0110.00114.83
7.3.50.0080.00614.85
7.3.40.0070.00914.82
7.3.30.0000.01314.76
7.3.20.0060.01015.82
7.3.10.0080.00615.79
7.3.00.0080.00515.84
7.2.330.0090.00916.64
7.2.320.0110.00816.69
7.2.310.0160.00616.66
7.2.300.0140.01116.78
7.2.290.0100.00616.77
7.2.250.0030.01415.18
7.2.240.0070.00815.11
7.2.230.0090.00615.02
7.2.220.0100.00615.11
7.2.210.0050.01014.77
7.2.200.0030.00914.80
7.2.190.0060.00615.16
7.2.180.0110.00214.93
7.2.170.0120.00315.04
7.2.160.0110.00415.08
7.2.150.0060.00914.80
7.2.140.0090.00614.92
7.2.130.0100.00315.07
7.2.120.0140.00015.19
7.2.110.0070.00715.33
7.2.100.0040.01215.13
7.2.90.0110.00415.18
7.2.80.0060.00915.06
7.2.70.0090.00615.08
7.2.60.0110.00415.17
7.2.50.0060.01015.23
7.2.40.0080.01115.27
7.2.30.0070.00715.30
7.2.20.0060.00915.27
7.2.10.0100.00514.82
7.2.00.0100.00515.06
7.1.330.0050.01014.79
7.1.320.0110.00214.90
7.1.310.0030.01215.05
7.1.300.0090.00514.67
7.1.290.0020.01214.92
7.1.280.0070.00714.91
7.1.270.0000.01014.81
7.1.260.0030.01114.79
7.1.250.0100.00313.88

preferences:
69.39 ms | 406 KiB | 5 Q