3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(!!preg_match('#\\b' . preg_quote("like", '#') . '\\b#i', "I like tea"));

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.70.0050.00317.53
8.1.60.0050.00317.70
8.1.50.0040.00417.57
8.1.40.0030.00617.52
8.1.30.0080.00017.73
8.1.20.0030.00517.67
8.1.10.0040.00417.51
8.1.00.0040.00417.58
8.0.200.0040.00417.02
8.0.190.0060.00317.01
8.0.180.0040.00417.05
8.0.170.0000.00716.92
8.0.160.0000.00716.96
8.0.150.0050.00216.90
8.0.140.0000.00716.94
8.0.130.0050.00013.34
8.0.120.0070.00016.96
8.0.110.0040.00416.83
8.0.100.0040.00416.95
8.0.90.0070.00016.91
8.0.80.0060.01016.88
8.0.70.0000.00716.84
8.0.60.0070.00016.86
8.0.50.0000.00716.76
8.0.30.0070.00817.00
8.0.20.0090.01317.40
8.0.10.0040.00417.16
8.0.00.0060.01216.89
7.4.300.0060.00016.63
7.4.290.0000.00716.70
7.4.280.0000.00716.49
7.4.270.0030.00316.75
7.4.260.0030.00316.64
7.4.250.0080.00016.54
7.4.240.0000.00716.54
7.4.230.0000.00816.46
7.4.220.0130.00716.61
7.4.210.0100.01016.69
7.4.200.0030.00516.42
7.4.160.0080.00816.66
7.4.150.0090.00917.40
7.4.140.0120.00517.86
7.4.130.0140.00616.71
7.4.120.0140.00716.59
7.4.110.0090.00916.71
7.4.100.0130.00316.56
7.4.90.0150.00316.63
7.4.80.0060.01119.39
7.4.70.0170.00016.64
7.4.60.0100.00716.59
7.4.50.0110.00816.62
7.4.40.0100.00716.73
7.4.30.0000.01716.56
7.4.20.0090.00916.72
7.4.10.0140.00615.77
7.4.00.0100.00715.53
7.3.330.0020.00213.23
7.3.320.0000.00613.21
7.3.310.0050.00216.30
7.3.300.0060.00016.18
7.3.290.0070.00716.33
7.3.280.0100.00916.37
7.3.270.0140.00317.40
7.3.260.0090.01016.45
7.3.250.0120.01116.54
7.3.240.0090.00916.34
7.3.230.0060.01216.23
7.3.210.0150.00616.67
7.3.200.0130.00316.45
7.3.190.0220.00016.37
7.3.180.0000.01716.64
7.3.170.0160.00316.34
7.3.160.0040.01116.57
7.3.150.0120.00316.41
7.3.140.0120.00616.52
7.3.130.0070.01215.51
7.3.120.0070.01015.62
7.3.110.0090.00715.75
7.3.100.0080.01015.60
7.3.90.0060.01115.80
7.3.80.0060.00915.79
7.3.70.0130.00315.70
7.3.60.0030.00915.71
7.3.50.0100.00415.65
7.3.40.0060.00715.22
7.3.30.0050.00815.13
7.3.20.0380.00315.76
7.3.10.0420.00415.64
7.3.00.0680.00815.73
7.2.330.0090.00916.71
7.2.320.0070.01016.74
7.2.310.0080.00816.53
7.2.300.0130.01016.68
7.2.290.0060.01216.74
7.2.280.0120.00416.69
7.2.270.0170.00316.84
7.2.260.0050.01316.03
7.2.250.0070.01315.97
7.2.240.0080.00815.82
7.2.230.0040.01315.90
7.2.220.0080.00715.94
7.2.210.0030.01315.86
7.2.200.0050.01015.67
7.2.190.0070.00815.77
7.2.180.0040.01215.89
7.2.170.0050.01115.48
7.2.160.0090.00615.47
7.2.150.0290.00915.93
7.2.140.0400.00616.00
7.2.130.0650.00715.90
7.2.120.0560.00515.94
7.2.110.0680.00815.85
7.2.100.0620.00615.88
7.2.90.0730.00615.98
7.2.80.0590.00816.07
7.2.70.0440.00715.95
7.2.60.0310.00916.06
7.2.50.0310.01016.20
7.2.40.0400.00915.99
7.2.30.0310.00716.02
7.2.20.0430.00715.95
7.2.10.0470.00716.30
7.2.00.0430.01016.19
7.1.330.0090.01115.73
7.1.320.0080.00915.59
7.1.310.0130.00715.83
7.1.300.0440.00515.72
7.1.290.0120.00715.87
7.1.280.0120.01015.15
7.1.270.0320.00814.81
7.1.260.0490.00714.76
7.1.250.0540.00614.75
7.1.240.0600.01014.89
7.1.230.0690.01314.67
7.1.220.0540.00314.81
7.1.210.0680.00714.76
7.1.200.0490.00914.95
7.1.190.0430.00815.01
7.1.180.0550.00815.05
7.1.170.0420.00814.74
7.1.160.0370.01014.85
7.1.150.0330.00814.80
7.1.140.0560.00914.90
7.1.130.0430.01014.99
7.1.120.0430.00615.17
7.1.110.0380.00815.12
7.1.100.0390.00915.01
7.1.90.0470.00715.10
7.1.80.0570.00914.87
7.1.70.0320.00914.93
7.1.60.0280.00822.57
7.1.50.0410.01022.46
7.1.40.0400.00822.47
7.1.30.0420.00622.51
7.1.20.0620.00922.53
7.1.10.0250.01114.60
7.1.00.0280.00714.90
7.0.330.0780.00614.16
7.0.320.0830.00714.07
7.0.310.0660.00914.40
7.0.300.0490.01014.26
7.0.290.0500.00714.23
7.0.280.0760.00814.26
7.0.270.0430.00914.62
7.0.260.0580.00614.71
7.0.250.0520.00514.64
7.0.240.0560.00814.67
7.0.230.0650.01114.57
7.0.220.0700.01114.68
7.0.210.0400.00814.43
7.0.200.0440.00714.38
7.0.190.0390.01114.52
7.0.180.0310.00914.21
7.0.170.0360.00714.41
7.0.160.0400.00814.24
7.0.150.0280.01014.23
7.0.140.0360.01014.32
7.0.130.0350.00814.30
7.0.120.0470.00714.48
7.0.110.0300.00814.43
7.0.100.0330.00914.36
7.0.90.0310.00814.33
7.0.80.0280.00714.40
7.0.70.0290.00914.45
7.0.60.0290.00814.37
7.0.50.0270.01014.39
7.0.40.0260.00614.39
7.0.30.0260.00714.40
7.0.20.0250.00914.38
7.0.10.0310.00814.47
7.0.00.0190.00914.36
5.6.400.0120.00714.66
5.6.390.0130.00714.99
5.6.380.0150.00814.88
5.6.370.0200.00815.74
5.6.360.0200.00916.13
5.6.350.0190.01116.13
5.6.340.0160.01315.88
5.6.330.0190.00815.89
5.6.320.0220.01516.09
5.6.310.0200.00816.07
5.6.300.0230.01015.92
5.6.290.0220.00615.95
5.6.280.0180.00915.76
5.6.270.0180.01115.99
5.6.260.0160.01515.96
5.6.250.0150.01215.87
5.6.240.0190.01215.86
5.6.230.0160.01115.87
5.6.220.0180.00715.78
5.6.210.0110.01115.69
5.6.200.0170.00715.84
5.6.190.0180.00615.67
5.6.180.0280.03515.75
5.6.170.0430.03315.66
5.6.160.0270.02015.76
5.6.150.0340.01915.73
5.6.140.0260.01515.77
5.6.130.0100.01015.70
5.6.120.0300.01315.72
5.6.110.0300.00915.84
5.6.100.0070.01615.77
5.6.90.0110.01815.59
5.6.80.0280.03215.80
5.6.70.0100.01315.81
5.6.60.0120.01215.71
5.6.50.0160.00815.86
5.6.40.0080.01915.54
5.6.30.0120.01415.87
5.6.20.0160.00815.51
5.6.10.0070.01515.53
5.6.00.0090.01315.52

preferences:
11.5 ms | 406 KiB | 5 Q