3v4l.org

run code in 300+ PHP versions simultaneously
<?php $regex = '#(IsBasicLatin|IsLatin)#'; $string = '[\p{IsBasicLatin}\p{IsLatin-1Supplement}]{1,1000}'; if (preg_match($regex, $string)) { echo 'Lorem Ipsum Shipmsum flipsu?@#$$%^&:€m'; }

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.10.0090.01216.99
8.5.00.0140.00720.15
8.4.150.0010.00214.05
8.4.140.0120.00817.73
8.4.130.0130.00718.07
8.4.120.0130.00820.64
8.4.110.0080.01222.69
8.4.100.0100.01117.95
8.4.90.0060.00417.81
8.4.80.0020.00617.84
8.4.70.0120.00817.68
8.4.60.0130.00918.14
8.4.50.0160.00519.85
8.4.40.0060.00317.88
8.4.30.0160.00318.85
8.4.20.0030.01719.82
8.4.10.0100.00019.57
8.3.280.0120.00818.36
8.3.270.0080.00716.72
8.3.260.0120.00816.75
8.3.250.0120.00718.65
8.3.240.0090.00916.50
8.3.230.0120.00816.75
8.3.220.0050.00217.12
8.3.210.0100.00916.77
8.3.200.0120.00716.73
8.3.190.0130.00616.33
8.3.180.0100.00818.95
8.3.170.0040.01417.06
8.3.160.0060.01218.51
8.3.150.0090.00616.55
8.3.140.0050.00517.30
8.3.130.0080.00018.25
8.3.120.0000.00920.59
8.3.110.0070.00420.94
8.3.100.0060.00324.06
8.3.90.0080.00026.77
8.3.80.0030.00617.97
8.3.70.0120.00318.30
8.3.60.0120.00618.31
8.3.50.0140.00416.63
8.3.40.0040.01123.65
8.3.30.0150.00020.71
8.3.20.0040.00424.18
8.3.10.0030.00524.66
8.3.00.0060.00326.16
8.2.290.0040.00520.29
8.2.280.0070.01018.48
8.2.270.0090.00916.91
8.2.260.0100.00616.57
8.2.250.0030.00616.99
8.2.240.0000.00818.85
8.2.230.0060.00322.58
8.2.220.0040.00437.54
8.2.210.0000.00726.77
8.2.200.0040.00416.50
8.2.190.0160.00016.75
8.2.180.0090.00918.66
8.2.170.0190.00319.04
8.2.160.0070.00722.96
8.2.150.0040.00425.66
8.2.140.0050.00324.66
8.2.130.0080.00026.16
8.2.120.0040.00419.71
8.2.110.0030.00721.07
8.2.100.0300.00418.44
8.2.90.0280.00318.44
8.2.80.0220.00618.44
8.2.70.0260.00718.44
8.2.60.0250.00618.44
8.2.50.0260.00318.44
8.2.40.0190.00918.44
8.2.30.0190.00818.44
8.2.20.0250.00418.44
8.2.10.0260.00318.44
8.2.00.0390.00018.44
8.1.330.0130.00616.82
8.1.320.0090.01016.39
8.1.310.0080.00018.34
8.1.300.0090.00017.81
8.1.290.0030.00630.84
8.1.280.0170.00325.92
8.1.270.0000.00823.73
8.1.260.0050.00326.35
8.1.250.0000.00828.09
8.1.240.0070.00319.52
8.1.230.0210.00618.44
8.1.220.0160.01018.44
8.1.210.0210.00818.44
8.1.200.0280.00018.44
8.1.190.0260.00418.44
8.1.180.0270.00018.44
8.1.170.0130.01318.44
8.1.160.0200.00818.44
8.1.150.0240.00318.44
8.1.140.0220.00418.44
8.1.130.0170.00918.44
8.1.120.0200.00818.44
8.1.110.0230.00318.44
8.1.100.0230.00318.44
8.1.90.0170.01018.44
8.1.80.0240.00318.44
8.1.70.0220.00618.44
8.1.60.0190.00818.44
8.1.50.0180.00918.44
8.1.40.0130.01718.44
8.1.30.0200.00718.44
8.1.20.0230.00418.44
8.1.10.0260.00018.44
8.1.00.0210.00318.44
8.0.300.0240.00318.44
8.0.290.0180.00618.44
8.0.280.0260.00318.44
8.0.270.0230.00318.44
8.0.260.0210.00518.44
8.0.250.0260.00018.44
8.0.240.0180.00918.44
8.0.230.0210.00718.44
8.0.220.0210.01318.44
8.0.210.0220.00418.44
8.0.200.0270.00018.44
8.0.190.0240.00818.44
8.0.180.0220.00618.44
8.0.170.0260.00418.44
8.0.160.0240.00318.44
8.0.150.0150.00718.44
8.0.140.0240.00318.44
8.0.130.0080.01218.44
8.0.120.0230.00318.44
8.0.110.0260.00018.44
8.0.100.0170.00918.44
8.0.90.0210.00718.44
8.0.80.0250.00418.44
8.0.70.0240.00318.44
8.0.60.0190.00618.44
8.0.50.0260.00018.44
8.0.30.0240.00318.44
8.0.20.0180.00618.44
8.0.10.0200.00818.44
7.4.330.0070.00428.09

preferences:
37.77 ms | 403 KiB | 5 Q