3v4l.org

run code in 300+ PHP versions simultaneously
<?php # URL that generated this code: # http://txt2re.com/index-php.php3?s=14:Sep:2012%20%22This%20is%20an%20Example!%22&18 $txt='14:Sep:2012 "This is an Example!"'; $re1='.*?'; # Non-greedy match on filler $re2='(?:[a-z][a-z0-9_]*)'; # Uninteresting: var $re3='.*?'; # Non-greedy match on filler $re4='(?:[a-z][a-z0-9_]*)'; # Uninteresting: var $re5='.*?'; # Non-greedy match on filler $re6='((?:[a-z][a-z0-9_]*))'; # Variable Name 1 if ($c=preg_match_all ("/".$re1.$re2.$re3.$re4.$re5.$re6."/is", $txt, $matches)) { $var1=$matches[1][0]; var_dump($matches); } #----- # Paste the code into a new php file. Then in Unix: # $ php x.php #----- ?>

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.3.60.0200.00616.63
8.3.50.0120.00717.68
8.3.40.0120.00318.95
8.3.30.0120.00618.96
8.3.20.0080.00019.05
8.3.10.0030.00519.05
8.3.00.0060.01019.47
8.2.180.0040.01116.88
8.2.170.0170.00322.96
8.2.160.0090.00618.89
8.2.150.0090.00024.18
8.2.140.0050.00324.66
8.2.130.0080.00026.16
8.2.120.0040.00419.89
8.2.110.0100.00019.39
8.2.100.0060.00617.91
8.2.90.0050.00319.30
8.2.80.0040.00417.97
8.2.70.0000.00817.84
8.2.60.0040.00418.04
8.2.50.0080.00018.05
8.2.40.0040.00419.37
8.2.30.0030.00817.95
8.2.20.0070.00317.86
8.2.10.0000.00817.78
8.2.00.0060.00317.83
8.1.280.0210.00025.92
8.1.270.0060.00323.99
8.1.260.0040.00426.35
8.1.250.0000.00728.09
8.1.240.0030.00622.74
8.1.230.0100.00317.83
8.1.220.0090.00017.77
8.1.210.0000.00918.77
8.1.200.0060.00317.35
8.1.190.0050.00317.35
8.1.180.0030.00618.10
8.1.170.0040.00417.62
8.1.160.0040.00418.93
8.1.150.0000.00718.85
8.1.140.0070.00017.61
8.1.130.0000.00817.52
8.1.120.0000.00717.65
8.1.110.0040.00417.60
8.1.100.0000.00717.65
8.1.90.0040.00317.52
8.1.80.0040.00417.70
8.1.70.0070.00017.57
8.1.60.0030.00617.57
8.1.50.0000.00717.70
8.1.40.0000.00717.65
8.1.30.0070.00417.70
8.1.20.0070.00317.65
8.1.10.0000.00717.60
8.1.00.0000.00817.63
8.0.300.0050.00318.77
8.0.290.0080.00516.58
8.0.280.0070.00018.66
8.0.270.0050.00217.25
8.0.260.0000.00616.88
8.0.250.0070.00317.12
8.0.240.0040.00417.13
8.0.230.0040.00417.02
8.0.220.0000.00917.05
8.0.210.0030.00317.03
8.0.200.0070.00017.07
8.0.190.0000.00817.06
8.0.180.0070.00017.06
8.0.170.0040.00417.04
8.0.160.0000.00717.09
8.0.150.0000.00817.03
8.0.140.0000.00816.99
8.0.130.0030.00313.41
8.0.120.0000.00816.86
8.0.110.0000.00917.05
8.0.100.0040.00417.11
8.0.90.0040.00416.93
8.0.80.0090.00617.04
8.0.70.0070.00017.00
8.0.60.0040.00417.06
8.0.50.0030.00616.95
8.0.30.0120.00917.48
8.0.20.0080.01017.02
8.0.10.0000.00717.00
8.0.00.0100.01216.81
7.4.330.0000.00513.20
7.4.320.0000.00716.84
7.4.300.0000.00616.79
7.4.290.0040.00416.80
7.4.280.0000.01016.63
7.4.270.0000.00816.73
7.4.260.0030.00313.54
7.4.250.0000.00916.72
7.4.240.0070.00016.81
7.4.230.0030.00516.46
7.4.220.0150.00716.51
7.4.210.0120.00316.77
7.4.200.0030.00316.76
7.4.190.0050.00216.70
7.4.160.0070.01016.80
7.4.150.0060.01216.58
7.4.140.0100.01417.86
7.4.130.0100.00916.68
7.4.120.0070.01116.80
7.4.110.0130.00416.77
7.4.100.0140.00316.66
7.4.90.0100.01016.66
7.4.80.0060.01219.39
7.4.70.0090.00816.66
7.4.60.0070.01016.65
7.4.50.0070.00016.68
7.4.40.0000.01016.68
7.4.30.0030.01316.66
7.4.00.0000.01314.67
7.3.330.0060.00013.27
7.3.320.0000.00613.16
7.3.310.0070.00016.45
7.3.300.0030.00316.52
7.3.290.0080.00916.47
7.3.280.0130.00616.33
7.3.270.0090.00916.65
7.3.260.0060.01216.64
7.3.240.0140.00416.61
7.3.230.0090.00916.75
7.3.210.0030.01416.36
7.3.200.0070.01116.45
7.3.190.0100.01116.62
7.3.180.0080.00816.70
7.3.170.0100.01016.67
7.3.160.0100.01016.75
7.3.120.0070.00715.03
7.3.00.0070.00716.53
7.2.330.0090.00916.70
7.2.320.0140.00916.75
7.2.310.0100.00716.77
7.2.300.0100.00616.55
7.2.290.0090.00916.91
7.2.130.0040.00717.09
7.2.120.0060.00917.09
7.2.110.0030.00917.27
7.2.100.0090.00317.00
7.2.90.0070.00717.00
7.2.80.0080.00317.07
7.2.70.0060.00917.13
7.2.60.0120.00416.83
7.2.50.0000.00916.88
7.2.40.0070.00716.82
7.2.30.0040.00416.96
7.2.20.0070.00717.14
7.2.10.0100.00617.01
7.2.00.0100.00518.26
7.1.250.0070.00716.08
7.1.240.0030.00816.16
7.1.230.0160.00015.91
7.1.220.0080.00316.11
7.1.210.0080.00015.88
7.1.200.0100.00616.14
7.1.190.0100.00016.06
7.1.180.0080.00415.82
7.1.170.0040.00715.88
7.1.160.0060.01216.16
7.1.150.0000.00815.86
7.1.140.0080.00416.17
7.1.130.0110.00315.80
7.1.120.0070.00716.00
7.1.110.0000.01016.06
7.1.100.0120.00315.90
7.1.90.0070.00716.00
7.1.80.0060.00916.02
7.1.70.0050.00616.70
7.1.60.0110.00817.52
7.1.50.0020.01416.70
7.1.40.0080.00415.91
7.1.30.0030.00716.16
7.1.20.0000.01515.81
7.1.10.0000.00815.79
7.1.00.0020.02519.21
7.0.330.0030.01015.65
7.0.320.0040.00715.73
7.0.310.0030.00915.72
7.0.300.0020.00715.70
7.0.290.0060.00315.77
7.0.280.0030.01015.45
7.0.270.0080.00615.71
7.0.260.0030.01215.68
7.0.250.0070.00715.64
7.0.240.0060.00615.66
7.0.230.0040.01115.59
7.0.220.0000.00815.65
7.0.210.0110.00015.22
7.0.200.0100.00716.30
7.0.190.0040.00715.47
7.0.180.0060.00915.30
7.0.170.0070.00715.52
7.0.160.0030.00615.57
7.0.150.0000.01115.59
7.0.140.0030.04318.81
7.0.130.0030.01515.52
7.0.120.0050.03518.87
7.0.110.0080.00015.68
7.0.100.0140.00015.58
7.0.90.0060.00615.46
7.0.80.0060.01215.72
7.0.70.0080.00815.43
7.0.60.0020.04717.75
7.0.50.0070.02716.56
7.0.40.0070.04716.97
7.0.30.0200.04016.87
7.0.20.0190.03816.80
7.0.10.0070.02816.87
7.0.00.0030.02616.91
5.6.380.0030.01014.59
5.6.370.0050.00214.50
5.6.360.0000.01114.76
5.6.350.0060.00614.71
5.6.340.0040.00414.68
5.6.330.0040.00814.54
5.6.320.0130.00314.50
5.6.310.0030.01014.66
5.6.300.0050.00514.32
5.6.290.0070.00714.84
5.6.280.0080.03617.87
5.6.270.0070.00414.42
5.6.260.0030.00514.41
5.6.250.0110.00014.41
5.6.240.0060.00614.57
5.6.230.0030.00914.54
5.6.220.0040.00814.23
5.6.210.0050.02817.56
5.6.200.0050.02916.24
5.6.190.0070.04517.25
5.6.180.0250.02317.54
5.6.170.0230.03317.50
5.6.160.0040.04617.32
5.6.150.0050.03116.23
5.6.140.0020.03816.26
5.6.130.0040.02816.26
5.6.120.0100.02017.76
5.6.110.0080.04517.71
5.6.100.0030.03217.67
5.6.90.0060.04517.65
5.6.80.0060.03417.40
5.6.70.0190.04017.32
5.6.60.0070.00314.49
5.6.50.0040.00714.73
5.6.40.0030.00714.20
5.6.30.0030.01313.99
5.6.20.0110.00014.30
5.6.10.0030.00914.05
5.6.00.0070.00314.56
5.5.380.0030.00311.07
5.5.370.0030.01011.26
5.5.360.0000.00811.02
5.5.350.0080.04215.79
5.5.340.0050.04214.51
5.5.330.0050.04315.79
5.5.320.0030.04515.66
5.5.310.0130.03015.72
5.5.300.0010.02414.64
5.5.290.0050.03514.51
5.5.280.0050.04716.14
5.5.270.0070.03715.96
5.5.260.0070.04515.90
5.5.250.0070.04515.77
5.5.240.0100.03315.70
5.5.230.0050.00310.96
5.5.220.0000.00910.91
5.5.210.0000.00911.02
5.5.200.0030.00710.82
5.5.190.0080.00311.00
5.5.180.0000.00610.95
5.5.170.0050.00510.75
5.5.160.0060.00311.21
5.5.150.0060.00010.90
5.5.140.0120.00010.64
5.5.130.0090.00211.05
5.5.120.0080.00010.91
5.5.110.0070.00610.72
5.5.100.0070.00210.91
5.5.90.0050.00211.26
5.5.80.0040.00410.91
5.5.70.0020.00710.61
5.5.60.0030.00510.71
5.5.50.0030.00511.22
5.5.40.0000.01111.01
5.5.30.0000.01110.94
5.5.20.0070.00710.65
5.5.10.0000.00811.08
5.5.00.0050.00211.07
5.4.450.0070.04315.24
5.4.440.0050.04915.16
5.4.430.0060.03315.01
5.4.420.0060.04015.18
5.4.410.0070.03715.28
5.4.400.0040.04215.04
5.4.390.0040.03815.01
5.4.380.0120.02915.13
5.4.370.0110.03715.04
5.4.360.0080.04014.98
5.4.350.0060.02515.05
5.4.340.0060.03715.10
5.4.330.0070.00311.03
5.4.320.0040.04314.83
5.4.310.0030.02715.06
5.4.300.0040.03915.13
5.4.290.0030.03714.92
5.4.280.0040.03715.11
5.4.270.0050.03915.07
5.4.260.0030.03315.12
5.4.250.0030.04415.12
5.4.240.0070.02415.07
5.4.230.0080.03615.04
5.4.220.0080.03315.02
5.4.210.0130.02715.05
5.4.200.0090.01714.97
5.4.190.0050.04015.06
5.4.180.0040.04014.84
5.4.170.0090.04114.86
5.4.160.0030.02915.01
5.4.150.0120.03514.96
5.4.140.0000.04113.71
5.4.130.0050.02013.59
5.4.120.0050.03913.88
5.4.110.0050.02013.67
5.4.100.0020.03013.75
5.4.90.0080.02013.58
5.4.80.0060.03213.63
5.4.70.0050.01813.66
5.4.60.0050.03513.43
5.4.50.0060.02513.40
5.4.40.0040.03413.58
5.4.30.0100.02113.57
5.4.20.0050.03213.59
5.4.10.0060.03513.76
5.4.00.0090.02213.33
5.3.290.0050.03012.65
5.3.280.0050.03612.39
5.3.270.0030.02212.42
5.3.260.0110.03312.45
5.3.250.0050.03212.58
5.3.240.0020.02712.45
5.3.230.0070.02012.36
5.3.220.0050.03712.42
5.3.210.0060.02312.34
5.3.200.0050.03712.44
5.3.190.0000.03312.49
5.3.180.0030.02912.54
5.3.170.0080.01912.47
5.3.160.0080.03512.46
5.3.150.0050.04212.56
5.3.140.0030.03012.52
5.3.130.0050.02012.36
5.3.120.0030.02812.46
5.3.110.0070.02412.46
5.3.100.0030.04112.20
5.3.90.0060.02112.11
5.3.80.0060.03412.12
5.3.70.0030.02512.13
5.3.60.0040.03912.15
5.3.50.0040.03412.05
5.3.40.0000.03412.10
5.3.30.0040.02512.10
5.3.20.0080.01711.95
5.3.10.0070.01511.78
5.3.00.0060.02711.88
5.2.170.0000.02810.54
5.2.160.0040.02510.54
5.2.150.0060.02010.48
5.2.140.0030.03410.55
5.2.130.0030.01810.47
5.2.120.0030.01710.47
5.2.110.0060.01610.49
5.2.100.0110.03010.57
5.2.90.0060.02810.46
5.2.80.0020.03010.50
5.2.70.0020.01710.60
5.2.60.0060.01510.49
5.2.50.0000.02810.43
5.2.40.0030.02010.47
5.2.30.0070.01510.45
5.2.20.0020.02910.43
5.2.10.0050.02210.38
5.2.00.0060.02210.31
5.1.60.0000.0299.98
5.1.50.0030.0199.93
5.1.40.0000.0259.96
5.1.30.0080.02710.14
5.1.20.0020.01710.16
5.1.10.0050.01610.01
5.1.00.0030.02910.01
5.0.50.0020.0139.27
5.0.40.0030.0149.27
5.0.30.0020.0299.27
5.0.20.0030.0229.27
5.0.10.0040.0179.27
5.0.00.0040.0189.27
4.4.90.0000.0159.27
4.4.80.0020.0169.27
4.4.70.0030.0179.27
4.4.60.0050.0109.27
4.4.50.0030.0199.27
4.4.40.0040.0149.27
4.4.30.0050.0159.27
4.4.20.0030.0099.27
4.4.10.0030.0139.27
4.4.00.0010.0169.27
4.3.110.0000.0159.27
4.3.100.0030.0159.27
4.3.90.0020.0189.27
4.3.80.0000.0229.27
4.3.70.0030.0159.27
4.3.60.0020.0169.27
4.3.50.0070.0159.27
4.3.40.0010.0248.88
4.3.30.0020.0108.88
4.3.20.0020.0098.88
4.3.10.0020.0108.88
4.3.00.0030.0168.88

preferences:
50.13 ms | 401 KiB | 5 Q