3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = 'Hello How are you :slight_smile::joy:'; $regex = "/:([a-zA-Z0-9_]*):/"; preg_match_all($regex, $string, $matches); print_r($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.4.120.0090.01020.70
8.4.110.0120.00818.79
8.4.100.0120.00918.72
8.4.90.0170.00418.98
8.4.80.0040.00420.76
8.4.70.0130.00718.06
8.4.60.0140.00719.06
8.4.50.0110.00820.80
8.4.40.0170.00317.46
8.4.30.0100.00720.31
8.4.20.0280.00618.69
8.4.10.0240.00418.49
8.3.250.0040.00418.70
8.3.240.0140.00516.51
8.3.230.0130.00716.68
8.3.220.0120.00618.89
8.3.210.0120.00616.57
8.3.200.0070.00616.75
8.3.190.0050.00416.97
8.3.180.0090.00918.63
8.3.170.0000.01917.29
8.3.160.0180.00018.17
8.3.150.0240.00817.41
8.3.140.0310.00217.38
8.3.130.0160.00917.33
8.3.120.0200.00817.48
8.3.110.0180.00718.65
8.3.100.0210.00720.31
8.3.90.0250.00821.57
8.3.80.0250.00217.22
8.3.70.0170.01216.52
8.3.60.0230.01116.48
8.3.50.0230.01116.46
8.3.40.0240.01119.71
8.3.30.0220.00820.36
8.3.20.0230.00520.58
8.3.10.0220.00320.67
8.3.00.0090.01221.22
8.2.290.0130.00820.48
8.2.280.0040.00418.39
8.2.270.0160.01217.78
8.2.260.0180.00516.87
8.2.250.0210.00616.64
8.2.240.0170.00617.89
8.2.230.0160.00719.60
8.2.220.0220.00127.04
8.2.210.0180.00521.61
8.2.200.0150.00917.62
8.2.190.0190.00916.70
8.2.180.0240.00316.78
8.2.170.0250.00720.15
8.2.160.0210.00820.29
8.2.150.0210.00820.31
8.2.140.0250.00520.19
8.2.130.0240.00320.25
8.2.120.0180.00720.21
8.2.110.0240.00420.31
8.2.100.0220.00720.30
8.2.90.0160.01320.42
8.2.80.0260.00220.20
8.2.70.0170.01120.32
8.2.60.0220.00520.26
8.2.50.0210.00420.34
8.2.40.0190.00620.39
8.2.30.0200.01020.34
8.2.20.0190.01120.21
8.2.10.0200.00720.32
8.2.00.0180.00620.30
8.1.330.0120.00722.02
8.1.320.0100.01016.41
8.1.310.0160.00717.36
8.1.300.0190.01017.35
8.1.290.0110.01423.42
8.1.280.0100.00721.02
8.1.270.0150.00720.11
8.1.260.0200.00620.07
8.1.250.0190.00820.20
8.1.240.0190.00720.21
8.1.230.0210.00720.18
8.1.220.0180.01220.16
8.1.210.0270.00520.10
8.1.200.0180.01020.07
8.1.190.0190.01120.04
8.1.180.0140.00919.96
8.1.170.0220.00320.14
8.1.160.0210.00720.14
8.1.150.0160.00620.11
8.1.140.0080.01220.13
8.1.130.0120.00320.13
8.1.120.0130.00720.12
8.1.110.0150.00920.18
8.1.100.0130.00220.09
8.1.90.0190.00720.01
8.1.80.0210.00420.13
8.1.70.0170.00720.07
8.1.60.0230.00320.17
8.1.50.0180.00820.16
8.1.40.0240.00520.24
8.1.30.0140.01520.30
8.1.20.0120.01320.24
8.1.10.0140.00820.32
8.1.00.0180.00920.16

preferences:
28.14 ms | 403 KiB | 5 Q