3v4l.org

run code in 300+ PHP versions simultaneously
<?php $begin = microtime(TRUE); foreach(range(1, 1000) as $i) { preg_match("/偷拍/", '站和主要商业网站偷拍要树立正确办网导'); } $end = microtime(TRUE); echo (($end-$begin)*1000).'ms ';

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)
7.4.10.0070.01415.17
7.4.00.0100.01014.98
7.3.130.0070.01314.98
7.3.120.0040.01114.97
7.3.110.0030.01215.02
7.3.100.0050.00914.98
7.3.90.0080.00515.00
7.3.80.0070.00715.10
7.3.70.0030.00715.07
7.3.60.0050.01115.06
7.3.50.0040.00714.71
7.3.40.0050.00914.95
7.3.30.0060.00814.76
7.3.20.0080.00416.63
7.3.10.0090.00516.77
7.3.00.0030.01216.76
7.2.260.0100.01015.35
7.2.250.0110.00715.31
7.2.240.0060.00915.36
7.2.230.0060.00915.32
7.2.220.0040.01115.39
7.2.210.0030.01315.28
7.2.200.0050.01115.08
7.2.190.0060.00915.22
7.2.180.0040.01115.24
7.2.170.0020.01115.27
7.2.160.0020.01015.17
7.2.150.0030.01017.16
7.2.140.0040.01217.05
7.2.130.0060.00717.12
7.2.120.0070.00817.10
7.2.110.0040.00616.88
7.2.100.0070.00916.97
7.2.90.0070.01017.01
7.2.80.0090.00817.09
7.2.70.0070.01016.90
7.2.60.0080.00617.19
7.2.50.0050.00817.11
7.2.40.0060.00816.98
7.2.30.0110.00317.00
7.2.20.0080.00817.14
7.2.10.0050.01217.11
7.2.00.0040.01018.00
7.1.330.0080.00715.99
7.1.320.0070.00715.95
7.1.310.0020.01015.88
7.1.300.0040.00815.85
7.1.290.0080.00915.77
7.1.280.0070.00715.79
7.1.270.0060.01015.82
7.1.260.0070.00915.91
7.1.250.0050.00815.85
7.1.240.0090.00615.82
7.1.230.0040.00915.63
7.1.220.0120.00316.02
7.1.210.0030.01015.78
7.1.200.0030.01015.85
7.1.190.0120.00315.75
7.1.180.0030.00615.82
7.1.170.0070.00315.62
7.1.160.0080.00415.96
7.1.150.0050.00515.70
7.1.140.0030.01315.68
7.1.130.0060.00615.63
7.1.120.0060.01215.95
7.1.110.0090.00615.73
7.1.100.0030.01215.92
7.1.90.0070.01115.98
7.1.80.0070.01015.77
7.1.70.0060.00716.71
7.1.60.0100.01117.53
7.1.50.0040.01416.31
7.1.40.0060.00916.02
7.1.30.0000.01115.64
7.1.20.0000.00915.79
7.1.10.0030.01015.77
7.1.00.0030.02319.18
7.0.330.0030.00515.56
7.0.320.0040.00415.27
7.0.310.0030.01015.67
7.0.300.0070.00315.37
7.0.290.0040.01115.75
7.0.280.0040.00815.48
7.0.270.0140.00015.38
7.0.260.0060.00315.60
7.0.250.0070.00715.55
7.0.240.0070.01015.25
7.0.230.0090.00615.32
7.0.220.0000.01415.32
7.0.210.0090.00615.19
7.0.200.0080.00416.29
7.0.190.0070.00715.61
7.0.180.0040.01115.53
7.0.170.0000.01515.64
7.0.160.0030.01015.50
7.0.150.0090.00615.36
7.0.140.0050.04218.85
7.0.130.0040.01115.44
7.0.120.0050.04018.84
7.0.110.0060.00915.45
7.0.100.0100.00315.60
7.0.90.0030.01015.46
7.0.80.0130.00015.50
7.0.70.0000.01215.55
7.0.60.0020.04717.64
7.0.50.0030.02416.78
7.0.40.1830.02516.72
7.0.30.2070.02716.73
7.0.20.2180.02316.77
7.0.10.2190.02316.83
7.0.00.1470.02816.67
5.6.400.0070.00714.39
5.6.390.0030.01014.29
5.6.380.0070.00714.75
5.6.370.0060.00914.63
5.6.360.0060.01214.36
5.6.350.0000.00914.43
5.6.340.0100.00714.39
5.6.330.0070.01014.07
5.6.320.0100.00614.10
5.6.310.0150.00014.45
5.6.300.0070.00714.39
5.6.290.0060.00914.12
5.6.280.0050.04017.54
5.6.270.0060.00914.63
5.6.260.0000.01314.49
5.6.250.0080.00814.58
5.6.240.0000.01514.62
5.6.230.0000.01314.29
5.6.220.0070.00714.28
5.6.210.0020.03717.54
5.6.200.0020.03916.30
5.6.190.1880.02717.58
5.6.180.1690.02517.47
5.6.170.2090.02217.30
5.6.160.1720.02517.48
5.6.150.1500.02317.30
5.6.140.1550.02117.33
5.6.130.1700.02517.29
5.6.120.0730.04417.35
5.6.110.0120.04217.39
5.6.100.1870.02717.39
5.6.90.2130.02817.32
5.6.80.2220.02216.94
5.6.70.1850.02316.96
5.6.60.1980.02916.99
5.6.50.2200.02416.84
5.6.40.1720.02216.92
5.6.30.1850.02316.94
5.6.20.1520.02117.06
5.6.10.0030.04616.95
5.6.00.0070.04516.90
5.5.380.0060.01014.18
5.5.370.0100.00014.63
5.5.360.0120.00314.28
5.5.350.0130.03517.46
5.5.340.0050.03716.08
5.5.330.0730.02817.21
5.5.320.2040.02217.25
5.5.310.2210.02117.32
5.5.300.1720.02517.25
5.5.290.1700.02517.33
5.5.280.0070.04817.05
5.5.270.0080.04617.34
5.5.260.2170.02217.23
5.5.250.2150.02517.07
5.5.240.1990.02516.91
5.5.230.2130.02716.96
5.5.220.2210.02416.96
5.5.210.2110.02516.91
5.5.200.1850.02216.79
5.5.190.1960.02616.94
5.5.180.1840.01716.74
5.5.170.0030.00614.44
5.5.160.0040.02716.89
5.5.150.2160.02116.85
5.5.140.1930.02316.73
5.5.130.2150.03316.76
5.5.120.1980.02416.83
5.5.110.1820.02016.72
5.5.100.1980.02916.74
5.5.90.1870.02216.82
5.5.80.1770.02416.83
5.5.70.0000.02716.98
5.5.60.0050.04516.88
5.5.50.2000.02516.66
5.5.40.1710.01816.80
5.5.30.1820.02716.91
5.5.20.1870.02516.74
5.5.10.1780.03116.68
5.5.00.1730.02616.89
5.4.450.1700.02615.21
5.4.440.0030.04715.23
5.4.430.0720.03515.20
5.4.420.2120.02015.24
5.4.410.1980.02115.07
5.4.400.1980.02014.99
5.4.390.2000.02515.06
5.4.380.2170.02615.00
5.4.370.2160.02215.03
5.4.360.1690.02114.96
5.4.350.1880.02414.89
5.4.340.1730.02114.94
5.4.330.0000.01011.01
5.4.320.1200.02015.19
5.4.310.1880.02514.99
5.4.300.2150.02014.95
5.4.290.2150.02315.14
5.4.280.1800.02014.98
5.4.270.1880.02214.93
5.4.260.1630.02515.09
5.4.250.1730.02314.85
5.4.240.1750.02614.95
5.4.230.1240.02214.96
5.4.220.1680.02614.91
5.4.210.1980.02715.07
5.4.200.1800.02014.99
5.4.190.1940.02014.96
5.4.180.1730.02114.82
5.4.170.1840.02014.97
5.4.160.1930.01814.78
5.4.150.1780.02314.83
5.4.140.1670.02213.71
5.4.130.1930.02313.47
5.4.120.2030.02213.81
5.4.110.1800.02013.62
5.4.100.1960.02013.86
5.4.90.1790.02113.83
5.4.80.1850.02013.53
5.4.70.1970.02013.62
5.4.60.1950.02013.61
5.4.50.2250.01813.60
5.4.40.1780.02413.59
5.4.30.1730.02213.63
5.4.20.1700.02313.58
5.4.10.2070.02013.59
5.4.00.1780.02313.40
5.3.290.1750.02412.59
5.3.280.0090.02912.55
5.3.270.1670.02212.58
5.3.260.1760.01812.72
5.3.250.1810.01812.59
5.3.240.1760.02112.51
5.3.230.1890.02112.64
5.3.220.1990.02412.56
5.3.210.2000.01912.57
5.3.200.1760.02312.54
5.3.190.1730.02412.52
5.3.180.1840.02112.68
5.3.170.1860.02312.54
5.3.160.2110.02012.67
5.3.150.1950.02512.58
5.3.140.1720.02012.66
5.3.130.1940.02412.57
5.3.120.1700.02212.64
5.3.110.1790.02012.51
5.3.100.1730.02212.42
5.3.90.1330.02312.31
5.3.80.1420.02112.33
5.3.70.1400.02012.23
5.3.60.1240.02012.50
5.3.50.1530.02312.18
5.3.40.1650.02612.12
5.3.30.1680.02312.20
5.3.20.1720.01812.23
5.3.10.1730.02612.04
5.3.00.1630.02612.10
5.2.170.2630.03011.23
5.2.160.2270.02711.17
5.2.150.2830.03011.10
5.2.140.2600.03011.30
5.2.130.3230.03011.14
5.2.120.2030.02711.26
5.2.110.2670.03311.13
5.2.100.2900.03011.22
5.2.90.2900.03011.26
5.2.80.3530.03311.22
5.2.70.3700.03011.20
5.2.60.3370.02711.01
5.2.50.3270.02711.04
5.2.40.2830.02711.02
5.2.30.2830.03011.14
5.2.20.2900.03011.06
5.2.10.2900.02711.03
5.2.00.2970.02710.88
5.1.60.2670.02310.19
5.1.50.3000.02310.23
5.1.40.2630.02710.16
5.1.30.2570.02710.53
5.1.20.2400.02310.58
5.1.10.2230.02310.19
5.1.00.2870.02710.21
5.0.50.1370.0178.75
5.0.40.1630.0208.48
5.0.30.1100.0338.46
5.0.20.1300.0278.18
5.0.10.1330.0238.32
5.0.00.1400.0338.30
4.4.90.1530.0136.02
4.4.80.1370.0136.04
4.4.70.1630.0176.02
4.4.60.1370.0136.02
4.4.50.0630.0336.05
4.4.40.1700.0276.01
4.4.30.1370.0136.02
4.4.20.1130.0176.11
4.4.10.1570.0136.08
4.4.00.1530.0236.05
4.3.110.1230.0176.04
4.3.100.1070.0175.98
4.3.90.1370.0205.87
4.3.80.1200.0305.96
4.3.70.1300.0175.85
4.3.60.1270.0135.89
4.3.50.1370.0205.86
4.3.40.1400.0305.94
4.3.30.0530.0174.77
4.3.20.0530.0174.77
4.3.10.0770.0274.77
4.3.00.0830.0204.77

preferences:
38.26 ms | 401 KiB | 5 Q