3v4l.org

run code in 300+ PHP versions simultaneously
<?php $begin = microtime(TRUE); 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.00.0060.01215.32
7.3.120.0070.01015.17
7.3.110.0060.00914.96
7.3.100.0030.01314.92
7.3.90.0030.01014.67
7.3.80.0040.00815.03
7.3.70.0070.00715.09
7.3.60.0060.00914.68
7.3.50.0000.00915.11
7.3.40.0030.00615.09
7.3.30.0100.00314.97
7.3.20.0040.00716.70
7.3.10.0130.00516.69
7.3.00.0090.00716.59
7.2.250.0040.01415.00
7.2.240.0070.01314.92
7.2.230.0070.01015.07
7.2.220.0070.00715.22
7.2.210.0070.00415.01
7.2.200.0070.01115.13
7.2.190.0060.00915.28
7.2.180.0080.00814.83
7.2.170.0100.00715.07
7.2.130.0220.00316.22
7.2.120.0120.01216.26
7.2.110.0160.00216.68
7.2.100.0180.00616.89
7.2.90.0080.00817.09
7.2.80.0090.00917.15
7.2.70.0120.00616.62
7.2.60.0150.00016.70
7.2.50.0060.00917.06
7.2.40.0150.00417.07
7.2.30.0060.00917.09
7.2.20.0070.01017.04
7.2.10.0070.01317.03
7.2.00.0050.00918.38
7.1.330.0060.00615.85
7.1.320.0070.00716.02
7.1.310.0060.00615.88
7.1.300.0030.01316.02
7.1.290.0160.00015.82
7.1.280.0110.00316.01
7.1.270.0030.01016.10
7.1.260.0000.01316.00
7.1.250.0130.00615.69
7.1.70.0000.01517.52
7.1.60.0140.01019.32
7.1.50.0070.00717.27
7.1.00.0030.07722.29
7.0.200.0080.00016.91
7.0.140.0000.07722.12
7.0.90.0330.04019.89
7.0.80.0200.04319.87
7.0.70.0070.04320.12
7.0.60.0200.03319.97
7.0.50.0400.04020.25
7.0.40.0000.05320.13
7.0.30.0000.04720.15
7.0.20.0000.04020.10
7.0.10.0070.03719.95
7.0.00.0000.04720.08
5.6.280.0070.07020.90
5.6.230.0030.04320.68
5.6.220.0030.03720.48
5.6.210.0030.04320.44
5.6.200.0030.04321.04
5.6.190.0070.04021.02
5.6.180.0030.03721.03
5.6.170.0030.04021.01
5.6.160.0030.04320.93
5.6.150.0070.03020.95
5.6.140.0000.04720.92
5.6.130.0000.04720.95
5.6.120.0030.04321.04
5.6.110.0200.06721.07
5.6.100.0000.04320.91
5.6.90.0070.04021.08
5.6.80.0070.03720.31
5.6.70.0000.04720.47
5.6.60.0030.05020.37
5.6.50.0130.07320.38
5.6.40.0000.04320.30
5.6.30.0130.03720.43
5.6.20.0100.04320.32
5.6.10.0100.07720.45
5.6.00.0100.05720.47
5.5.370.0000.04320.39
5.5.360.0000.04320.42
5.5.350.0000.04720.42
5.5.340.0000.04320.88
5.5.330.0070.03720.77
5.5.320.0000.04720.88
5.5.310.0000.04020.88
5.5.300.0100.03720.75
5.5.290.0030.04320.63
5.5.280.0030.06020.63
5.5.270.0030.05320.75
5.5.260.0030.04720.78
5.5.250.0070.05020.64
5.5.240.0100.02720.13
5.5.230.0030.04020.13
5.5.220.0130.06020.20
5.5.210.0070.04020.16
5.5.200.0030.05320.20
5.5.190.0130.07020.07
5.5.180.0100.07020.22
5.5.160.0130.06320.13
5.5.150.0070.06020.10
5.5.140.0030.05320.07
5.5.130.0070.06320.09
5.5.120.0030.08020.27
5.5.110.0100.06720.25
5.5.100.0030.04720.07
5.5.90.0100.07320.03
5.5.80.0100.07720.00
5.5.70.0030.07720.15
5.5.60.0130.07720.02
5.5.50.0070.08020.00
5.5.40.0130.06720.13
5.5.30.0070.05320.18
5.5.20.0070.05320.04
5.5.10.0200.06320.04
5.5.00.0070.07320.04
5.4.450.0070.03719.38
5.4.440.0000.04319.27
5.4.430.0030.04019.37
5.4.420.0070.03719.32
5.4.410.0100.03319.25
5.4.400.0030.03719.03
5.4.390.0030.03718.98
5.4.380.0030.03718.96
5.4.370.0070.09719.23
5.4.360.0000.08319.06
5.4.350.0070.04719.14
5.4.340.0000.08318.81
5.4.320.0130.07018.96
5.4.310.0100.06719.09
5.4.300.0100.07319.24
5.4.290.0100.04719.12
5.4.280.0130.03718.80
5.4.270.0100.04019.22
5.4.260.0100.07318.89
5.4.250.0030.07319.03
5.4.240.0070.07019.07
5.4.230.0170.06319.02
5.4.220.0030.05319.09
5.4.210.0200.06719.14
5.4.200.0030.06718.89
5.4.190.0000.05018.97
5.4.180.0100.06019.02
5.4.170.0100.04719.08
5.4.160.0030.04719.09
5.4.150.0100.06319.02
5.4.140.0070.08316.37
5.4.130.0030.08016.25
5.4.120.0070.07316.27
5.4.110.0030.07316.41
5.4.100.0070.07316.30
5.4.90.0070.07316.32
5.4.80.0030.07316.32
5.4.70.0030.07316.32
5.4.60.0070.05716.37
5.4.50.0000.08316.38
5.4.40.0070.07016.45
5.4.30.0000.05316.19
5.4.20.0100.06016.39
5.4.10.0000.04716.20
5.4.00.0030.04715.94
5.3.290.0070.06715.94
5.3.280.0130.05015.94
5.3.270.0030.08015.94
5.3.260.0000.04715.94
5.3.250.0070.07315.94
5.3.240.0070.07015.94
5.3.230.0130.07015.94
5.3.220.0100.06715.94
5.3.210.0030.06015.94
5.3.200.0070.07315.94
5.3.190.0030.06715.94
5.3.180.0070.04015.94
5.3.170.0130.06715.94
5.3.160.0130.07315.94
5.3.150.0170.06315.94
5.3.140.0070.06015.94
5.3.130.0100.04315.94
5.3.120.0030.08315.94
5.3.110.0130.07015.94
5.3.100.0070.07315.94
5.3.90.0070.04715.94
5.3.80.0000.04715.94
5.3.70.0070.05715.94
5.3.60.0070.07315.94
5.3.50.0070.06715.94
5.3.40.0030.07015.94
5.3.30.0030.08015.94
5.3.20.0030.05715.94
5.3.10.0070.07015.94
5.3.00.0130.06715.94
5.2.170.0030.06715.94
5.2.160.0000.04315.94
5.2.150.0030.04015.94
5.2.140.0070.06015.94
5.2.130.0130.05015.94
5.2.120.0030.03715.94
5.2.110.0170.04715.94
5.2.100.0000.03715.94
5.2.90.0100.06015.94
5.2.80.0070.05715.94
5.2.70.0070.05315.94
5.2.60.0070.06015.94
5.2.50.0130.05315.94
5.2.40.0070.05315.94
5.2.30.0130.05715.94
5.2.20.0030.05015.94
5.2.10.0030.06015.94
5.2.00.0030.06315.94
5.1.60.0070.04715.94
5.1.50.0070.05315.94
5.1.40.0030.02315.94
5.1.30.0000.06015.94
5.1.20.0030.04015.94
5.1.10.0030.04015.94
5.1.00.0070.05315.94
5.0.50.0000.04015.94
5.0.40.0030.04015.94
5.0.30.0030.06315.94
5.0.20.0000.03315.94
5.0.10.0030.04315.94
5.0.00.0030.06015.94
4.4.90.0030.02015.94
4.4.80.0100.01715.94
4.4.70.0070.02015.94
4.4.60.0000.03315.94
4.4.50.0130.03315.94
4.4.40.0030.05315.94
4.4.30.0000.03715.94
4.4.20.0000.02715.94
4.4.10.0000.03315.94
4.4.00.0000.05315.94
4.3.110.0070.02015.94
4.3.100.0000.03315.94
4.3.90.0000.03715.94
4.3.80.0000.04015.94
4.3.70.0070.03715.94
4.3.60.0030.03315.94
4.3.50.0030.03315.94
4.3.40.0030.03315.94
4.3.30.0000.04015.94
4.3.20.0000.04015.94
4.3.10.0030.02015.94
4.3.00.0030.03315.94

preferences:
45.55 ms | 400 KiB | 5 Q