3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(preg_match('/[=cake=]/', 'foo'), PCRE_VERSION);

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.90.0000.00717.23
8.1.80.0000.00717.30
8.1.70.0000.00717.23
8.1.60.0040.00417.44
8.1.50.0050.00217.33
8.1.40.0000.00817.28
8.1.30.0080.00017.48
8.1.20.0040.00417.48
8.1.10.0020.00517.28
8.1.00.0000.00817.34
8.0.220.0000.00716.85
8.0.210.0030.00316.72
8.0.200.0030.00316.79
8.0.190.0040.00416.79
8.0.180.0040.00416.82
8.0.170.0040.00416.89
8.0.160.0040.00416.70
8.0.150.0050.00316.66
8.0.140.0000.00816.78
8.0.130.0040.00413.23
8.0.120.0030.00616.82
8.0.110.0000.00716.66
8.0.100.0040.00416.74
8.0.90.0040.00416.88
8.0.80.0060.00916.82
8.0.70.0050.00316.88
8.0.60.0040.00416.77
8.0.50.0070.00016.87
8.0.30.0150.00016.88
8.0.20.0140.00617.40
8.0.10.0040.00416.84
8.0.00.0100.00816.43
7.4.300.0030.00316.58
7.4.290.0000.00716.40
7.4.280.0050.00316.53
7.4.270.0080.00016.37
7.4.260.0030.00316.45
7.4.250.0050.00316.39
7.4.240.0040.00316.57
7.4.230.0050.00316.48
7.4.220.0060.00016.24
7.4.210.0070.00916.53
7.4.200.0030.00316.44
7.4.190.0030.00316.58
7.4.160.0060.01016.51
7.4.150.0160.00017.40
7.4.140.0080.00917.86
7.4.130.0120.00916.29
7.4.120.0060.01016.57
7.4.110.0070.01016.34
7.4.100.0070.01316.54
7.4.90.0060.01216.33
7.4.60.0090.01216.29
7.4.50.0060.00316.25
7.4.40.0120.00322.77
7.4.10.0030.01416.45
7.4.00.0050.01115.52
7.3.330.0020.00213.10
7.3.320.0050.00013.06
7.3.310.0070.00016.23
7.3.300.0070.00016.24
7.3.290.0110.00416.29
7.3.280.0080.01016.24
7.3.270.0040.01217.40
7.3.260.0120.00416.48
7.3.250.0050.01216.35
7.3.240.0130.00316.34
7.3.230.0060.01116.39
7.3.210.0180.00016.30
7.3.180.0060.00916.61
7.3.130.0100.00716.25
7.3.120.0050.01215.57
7.3.110.0050.01115.43
7.3.100.0120.00515.64
7.3.90.0070.00615.48
7.3.80.0050.00715.51
7.3.70.0040.00715.43
7.3.60.0060.00815.44
7.3.50.0020.01115.40
7.3.40.0020.01215.31
7.3.30.0070.00715.50
7.3.20.0050.00917.14
7.3.10.0100.00517.16
7.3.00.0010.01017.32
7.2.330.0110.00816.52
7.2.260.0100.01016.49
7.2.250.0080.00416.21
7.2.240.0070.00915.51
7.2.230.0050.00615.30
7.2.220.0060.00715.57
7.2.210.0080.00315.55
7.2.200.0090.00615.55
7.2.190.0050.00715.56
7.2.180.0080.00515.33
7.2.170.0090.00415.45
7.2.160.0070.00615.53
7.2.150.0030.00817.52
7.2.140.0030.01017.43
7.2.130.0060.00617.39
7.2.120.0060.00717.45
7.2.110.0070.00517.53
7.2.100.0040.01017.44
7.2.90.0000.01417.42
7.2.80.0080.00617.56
7.2.70.0080.00817.46
7.2.60.0060.00817.13
7.2.50.0050.01017.44
7.2.40.0070.00817.45
7.2.30.0050.00517.45
7.2.20.0090.00517.51
7.2.10.0040.00817.30
7.2.00.0050.01217.33
7.1.330.0080.00416.58
7.1.320.0120.00516.43
7.1.310.0040.01016.29
7.1.300.0060.00916.37
7.1.290.0070.00616.38
7.1.280.0080.00516.47
7.1.270.0030.01016.63
7.1.260.0080.00316.48
7.1.250.0050.00716.58
7.1.240.0000.01117.15
7.1.230.0030.01017.26
7.1.220.0090.00617.08
7.1.210.0000.00817.12
7.1.200.0040.00516.32
7.1.190.0030.01217.21
7.1.180.0070.00717.18
7.1.170.0040.00817.16
7.1.160.0040.01117.24
7.1.150.0030.00617.27
7.1.140.0060.00917.28
7.1.130.0040.00817.28
7.1.120.0090.00317.09
7.1.110.0030.01217.21
7.1.100.0040.00817.63
7.1.90.0030.01017.34
7.1.80.0070.00417.11
7.1.70.0040.00717.08
7.1.60.0080.00918.41
7.1.50.0060.01116.90
7.1.40.0040.00817.14
7.1.30.0070.00417.32
7.1.20.0070.01017.25
7.1.10.0060.00317.13
7.1.00.0080.04019.83
7.0.330.0040.00716.68
7.0.320.0040.00416.81
7.0.310.0070.00717.01
7.0.300.0000.01217.10
7.0.290.0070.01016.93
7.0.280.0070.00716.82
7.0.270.0060.00617.01
7.0.260.0070.00716.69
7.0.250.0030.00717.07
7.0.240.0030.01016.96
7.0.230.0030.01217.02
7.0.220.0060.00916.84
7.0.210.0060.00916.88
7.0.200.0070.00516.85
7.0.190.0050.00517.11
7.0.180.0040.00716.88
7.0.170.0060.00617.03
7.0.160.0030.01316.95
7.0.150.0030.01116.90
7.0.140.0030.04219.45
7.0.130.0060.00316.93
7.0.120.0000.01616.84
7.0.110.0000.01116.97
7.0.100.0140.04418.40
7.0.90.0050.04718.41
7.0.80.0040.02818.36
7.0.70.0060.04618.37
7.0.60.0150.04718.43
7.0.50.0070.03518.64
7.0.40.0070.04417.47
7.0.30.0070.03017.46
7.0.20.0100.04117.32
7.0.10.0030.04417.50
7.0.00.0090.03417.33
5.6.400.0060.00915.41
5.6.390.0040.01215.58
5.6.380.0070.00715.66
5.6.370.0030.01015.70
5.6.360.0040.00415.66
5.6.350.0040.00715.90
5.6.340.0080.00315.85
5.6.330.0000.01415.40
5.6.320.0000.00915.56
5.6.310.0100.00615.69
5.6.300.0090.00615.54
5.6.290.0040.01115.51
5.6.280.0000.04218.42
5.6.270.0070.00715.84
5.6.260.0040.00815.70
5.6.250.0040.04618.22
5.6.240.0110.03518.14
5.6.230.0020.04718.20
5.6.220.0130.03818.14
5.6.210.0060.02618.21
5.6.200.0030.03318.33
5.6.190.0070.04518.43
5.6.180.0110.04318.37
5.6.170.0050.04518.41
5.6.160.0090.02818.34
5.6.150.0080.02918.36
5.6.140.0100.04818.38
5.6.130.0120.04018.46
5.6.120.0090.04418.33
5.6.110.0050.04818.36
5.6.100.0070.04718.28
5.6.90.0100.05318.34
5.6.80.0080.04217.97
5.6.70.0040.02917.98
5.6.60.0070.04217.91
5.6.50.0070.03718.14
5.6.40.0050.04317.87
5.6.30.0070.04017.89
5.6.20.0030.04717.92
5.6.10.0050.04317.99
5.6.00.0120.02218.00
5.5.380.0130.03918.02
5.5.370.0100.02718.04
5.5.360.0150.04018.09
5.5.350.0180.03318.01
5.5.340.0110.04118.28
5.5.330.0120.03318.24
5.5.320.0130.04218.25
5.5.310.0140.04018.25
5.5.300.0120.04318.22
5.5.290.0070.05118.28
5.5.280.0170.04318.27
5.5.270.0120.04518.10
5.5.260.0110.04518.22
5.5.250.0100.04518.04
5.5.240.0150.04117.80
5.5.230.0090.04217.97
5.5.220.0120.02317.79
5.5.210.0080.02917.81
5.5.200.0070.02617.87
5.5.190.0160.03817.78
5.5.180.0170.03817.91
5.5.170.0080.01215.21
5.5.160.0110.04117.88
5.5.150.0120.03017.94
5.5.140.0080.04617.85
5.5.130.0120.02717.90
5.5.120.0080.03217.88
5.5.110.0130.03917.88
5.5.100.0130.02817.70
5.5.90.0120.02817.67
5.5.80.0050.03017.77
5.5.70.0120.04417.82
5.5.60.0110.05517.71
5.5.50.0100.03017.89
5.5.40.0050.04117.74
5.5.30.0080.04517.79
5.5.20.0110.04017.86
5.5.10.0030.05317.74
5.5.00.0090.03917.73
5.4.450.0050.04516.06
5.4.440.0060.04615.83
5.4.430.0120.04115.83
5.4.420.0130.03815.68
5.4.410.0110.03915.77
5.4.400.0080.04215.79
5.4.390.0070.03715.74
5.4.380.0100.03815.74
5.4.370.0050.04415.63
5.4.360.0050.04415.57
5.4.350.0070.04315.66
5.4.340.0100.03015.76
5.4.330.0130.00712.54
5.4.320.0110.03515.64
5.4.310.0100.04215.76
5.4.300.0080.04015.62
5.4.290.0100.03715.66
5.4.280.0140.03515.71
5.4.270.0080.04115.58
5.4.260.0060.02815.60
5.4.250.0110.03715.65
5.4.240.0060.04315.80
5.4.230.0050.04515.70
5.4.220.0070.04315.75
5.4.210.0100.03615.77
5.4.200.0090.04315.70
5.4.190.0040.04315.67
5.4.180.0060.04315.62
5.4.170.0070.04115.73
5.4.160.0090.03715.68
5.4.150.0100.03815.74
5.4.140.0020.03814.34
5.4.130.0030.04014.42
5.4.120.0100.03214.37
5.4.110.0050.03914.54
5.4.100.0140.03314.31
5.4.90.0080.03814.44
5.4.80.0030.02814.38
5.4.70.0110.03014.38
5.4.60.0070.03614.35
5.4.50.0050.03514.38
5.4.40.0080.03714.30
5.4.30.0050.03914.24
5.4.20.0090.04014.29
5.4.10.0070.03814.31
5.4.00.0070.02814.05
5.3.290.0080.02813.78
5.3.280.0090.04013.55
5.3.270.0100.03313.74
5.3.260.0030.04013.75
5.3.250.0050.02113.70
5.3.240.0050.03613.66
5.3.230.0070.02813.75
5.3.220.0090.03913.72
5.3.210.0050.02613.71
5.3.200.0030.04013.56
5.3.190.0090.03213.65
5.3.180.0030.03013.84
5.3.170.0030.04113.78
5.3.160.0100.03113.79
5.3.150.0090.03613.82
5.3.140.0050.04213.70
5.3.130.0080.04013.82
5.3.120.0070.04113.73
5.3.110.0100.04013.68
5.3.100.0080.04113.55
5.3.90.0050.04113.35
5.3.80.0050.03213.32
5.3.70.0070.03813.32
5.3.60.0060.02513.37
5.3.50.0080.03913.30
5.3.40.0020.03213.37
5.3.30.0070.03713.21
5.3.20.0100.02313.16
5.3.10.0030.03913.09
5.3.00.0050.04013.14
5.2.170.0070.06012.07
5.2.160.0030.06312.07
5.2.150.0030.06312.07
5.2.140.0000.06012.07
5.2.130.0070.04312.07
5.2.120.0030.05712.07
5.2.110.0030.06312.07
5.2.100.0100.03012.07
5.2.90.0030.05712.07
5.2.80.0070.03312.07
5.2.70.0030.06312.07
5.2.60.0070.03312.07
5.2.50.0100.05312.07
5.2.40.0070.06012.07
5.2.30.0100.05012.07
5.2.20.0030.06312.07
5.2.10.0070.04712.07
5.2.00.0000.03712.07
5.1.60.0100.05012.07
5.1.50.0000.05712.07
5.1.40.0000.04312.07
5.1.30.0070.02712.07
5.1.20.0030.05712.07
5.1.10.0070.04712.07
5.1.00.0070.05012.07
5.0.50.0030.04712.07
5.0.40.0070.03312.07
5.0.30.0000.07012.07
5.0.20.0030.04312.07
5.0.10.0070.03312.07
5.0.00.0070.02712.07
4.4.90.0070.02312.07
4.4.80.0000.03012.07
4.4.70.0000.03312.07
4.4.60.0070.02312.07
4.4.50.0000.03712.07
4.4.40.0030.02712.07
4.4.30.0070.03312.07
4.4.20.0000.03712.07
4.4.10.0100.02312.07
4.4.00.0070.04712.07
4.3.110.0000.03712.07
4.3.100.0070.01312.07
4.3.90.0070.03712.07
4.3.80.0030.05312.07
4.3.70.0070.02012.07
4.3.60.0000.03712.07
4.3.50.0000.04012.07
4.3.40.0000.04712.07
4.3.30.0000.03712.07
4.3.20.0000.04012.07
4.3.10.0000.03012.07
4.3.00.0100.02712.07

preferences:
13.27 ms | 406 KiB | 5 Q