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(json_encode($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.0110.00816.63
8.3.50.0120.00922.13
8.3.40.0140.00718.92
8.3.30.0100.00719.09
8.3.20.0080.00020.20
8.3.10.0040.00423.66
8.3.00.0060.00319.51
8.2.180.0060.01216.63
8.2.170.0040.01122.96
8.2.160.0060.00920.53
8.2.150.0040.00424.18
8.2.140.0030.00524.66
8.2.130.0070.00726.16
8.2.120.0000.00722.21
8.2.110.0050.00521.15
8.2.100.0090.00318.03
8.2.90.0000.00818.22
8.2.80.0050.00317.97
8.2.70.0050.00317.93
8.2.60.0040.00418.16
8.2.50.0040.00418.10
8.2.40.0000.00820.61
8.2.30.0000.00718.17
8.2.20.0000.00817.83
8.2.10.0040.00418.28
8.2.00.0080.00017.79
8.1.280.0180.00425.92
8.1.270.0080.00023.82
8.1.260.0080.00026.35
8.1.250.0000.00828.09
8.1.240.0000.01520.48
8.1.230.0080.00320.84
8.1.220.0040.00417.74
8.1.210.0030.00618.97
8.1.200.0030.00617.35
8.1.190.0040.00417.35
8.1.180.0040.00418.10
8.1.170.0000.00818.71
8.1.160.0080.00021.96
8.1.150.0040.00418.73
8.1.140.0030.00617.61
8.1.130.0030.00317.77
8.1.120.0000.00717.54
8.1.110.0040.00417.54
8.1.100.0040.00417.60
8.1.90.0040.00417.60
8.1.80.0040.00417.55
8.1.70.0030.00317.58
8.1.60.0000.00817.70
8.1.50.0040.00417.58
8.1.40.0030.00517.67
8.1.30.0050.00317.60
8.1.20.0040.00417.73
8.1.10.0040.00417.70
8.1.00.0040.00417.64
8.0.300.0030.00620.07
8.0.290.0070.00016.88
8.0.280.0040.00418.52
8.0.270.0000.00717.27
8.0.260.0000.00717.38
8.0.250.0000.00717.15
8.0.240.0070.00017.07
8.0.230.0030.00317.00
8.0.220.0030.00316.94
8.0.210.0040.00417.02
8.0.200.0030.00317.02
8.0.190.0060.00317.04
8.0.180.0040.00417.03
8.0.170.0000.00717.11
8.0.160.0000.00717.09
8.0.150.0050.00316.99
8.0.140.0000.00716.95
8.0.130.0030.00313.47
8.0.120.0000.00817.02
8.0.110.0000.00817.05
8.0.100.0050.00317.00
8.0.90.0000.00717.07
8.0.80.0060.00917.09
8.0.70.0040.00417.07
8.0.60.0070.00016.93
8.0.50.0040.00416.93
8.0.30.0130.00816.95
8.0.20.0120.00617.40
8.0.10.0050.00217.02
8.0.00.0100.01016.94
7.4.330.0030.00315.16
7.4.320.0070.00016.63
7.4.300.0060.00016.81
7.4.290.0000.00716.82
7.4.280.0040.00416.73
7.4.270.0030.00316.71
7.4.260.0000.00816.84
7.4.250.0080.00016.68
7.4.240.0030.00516.70
7.4.230.0000.00616.55
7.4.220.0150.01116.79
7.4.210.0070.00716.73
7.4.200.0050.00216.86
7.4.190.0040.00416.64
7.4.160.0080.00816.61
7.4.150.0030.01417.40
7.4.140.0130.00917.86
7.4.130.0050.01416.70
7.4.120.0120.00816.60
7.4.110.0040.01616.66
7.4.100.0030.01416.79
7.4.90.0110.00716.57
7.4.80.0110.00719.39
7.4.70.0110.00616.72
7.4.60.0070.01016.44
7.4.50.0030.00316.60
7.4.40.0060.01616.70
7.4.30.0030.01316.47
7.4.10.0090.00315.24
7.4.00.0060.01315.06
7.3.330.0000.00613.21
7.3.320.0020.00213.33
7.3.310.0070.00016.53
7.3.300.0060.00016.52
7.3.290.0040.01116.44
7.3.280.0090.00716.50
7.3.270.0100.00917.40
7.3.260.0180.00016.68
7.3.250.0100.01216.53
7.3.240.0120.00316.73
7.3.230.0170.00016.57
7.3.210.0100.01316.54
7.3.200.0070.01119.39
7.3.190.0100.00716.38
7.3.180.0060.00916.61
7.3.170.0050.01116.51
7.3.160.0070.01016.45
7.3.130.0040.01414.94
7.3.120.0080.01014.90
7.3.110.0110.00714.94
7.3.100.0070.00715.11
7.3.90.0030.01214.94
7.3.80.0060.00615.12
7.3.70.0030.00715.14
7.3.60.0040.00815.09
7.3.50.0000.01215.04
7.3.40.0080.00415.14
7.3.30.0060.01014.97
7.3.20.0030.00816.79
7.3.10.0100.00616.66
7.3.00.0070.00716.72
7.2.330.0060.01316.82
7.2.320.0030.01716.74
7.2.310.0160.00616.71
7.2.300.0140.00416.57
7.2.290.0090.00916.78
7.2.260.0090.00915.22
7.2.250.0030.01615.30
7.2.240.0030.01315.13
7.2.230.0120.00314.91
7.2.220.0050.00515.17
7.2.210.0000.00915.10
7.2.200.0070.00315.13
7.2.190.0000.01214.96
7.2.180.0030.00615.00
7.2.170.0060.00915.12
7.2.160.0100.00715.11
7.2.150.0040.01417.19
7.2.140.0090.00617.06
7.2.130.0100.00717.18
7.2.120.0060.00917.04
7.2.110.0030.00617.17
7.2.100.0060.00917.00
7.2.90.0030.00617.00
7.2.80.0060.00617.17
7.2.70.0060.00616.89
7.2.60.0000.01316.94
7.2.50.0120.00317.11
7.2.40.0000.01717.07
7.2.30.0080.01017.02
7.2.20.0040.01617.07
7.2.10.0140.00017.24
7.2.00.0010.01018.29
7.1.330.0090.00616.08
7.1.320.0000.01416.13
7.1.310.0070.00716.16
7.1.300.0060.00316.07
7.1.290.0080.00815.76
7.1.280.0070.01016.09
7.1.270.0130.00016.06
7.1.260.0040.00715.84
7.1.250.0080.00816.17
7.1.240.0050.00516.06
7.1.230.0070.01015.95
7.1.220.0070.00716.05
7.1.210.0000.01416.14
7.1.200.0000.01115.91
7.1.190.0040.00815.92
7.1.180.0000.01615.89
7.1.170.0080.00416.07
7.1.160.0040.00816.09
7.1.150.0100.00315.78
7.1.140.0090.00616.02
7.1.130.0040.01516.13
7.1.120.0060.00315.77
7.1.110.0140.00316.04
7.1.100.0080.00617.36
7.1.90.0030.01216.18
7.1.80.0070.01116.00
7.1.70.0030.01216.53
7.1.60.0090.01017.81
7.1.50.0110.01325.54
7.1.40.0030.01016.04
7.1.30.0030.01315.99
7.1.20.0080.00615.72
7.1.10.0110.00415.75
7.1.00.0060.04119.32
7.0.330.0000.01715.64
7.0.320.0060.00315.26
7.0.310.0030.00715.62
7.0.300.0100.00715.47
7.0.290.0000.00915.49
7.0.280.0070.00715.61
7.0.270.0070.00715.44
7.0.260.0030.01015.33
7.0.250.0030.01015.70
7.0.240.0060.01515.65
7.0.230.0000.01815.39
7.0.220.0170.00315.62
7.0.210.0070.00415.48
7.0.200.0050.00616.38
7.0.190.0060.00315.79
7.0.180.0070.00315.45
7.0.170.0030.00615.57
7.0.160.0040.01115.25
7.0.150.0070.00415.73
7.0.140.0040.03918.62
7.0.130.0060.00615.66
7.0.120.0030.00615.53
7.0.110.0070.00715.70
7.0.100.0070.00715.63
7.0.90.0260.04517.69
7.0.80.0300.04017.79
7.0.70.0300.02017.72
7.0.60.0300.04217.90
7.0.50.0410.04217.81
7.0.40.0080.02316.80
7.0.30.0020.04716.83
7.0.20.0100.03816.94
7.0.10.0080.04516.86
7.0.00.0050.04216.74
5.6.400.0090.00614.39
5.6.390.0000.01614.32
5.6.380.0060.00614.34
5.6.370.0120.00314.19
5.6.360.0030.00614.74
5.6.350.0000.00914.44
5.6.340.0060.00914.07
5.6.330.0000.01714.64
5.6.320.0060.00614.29
5.6.310.0090.00314.33
5.6.300.0080.00414.00
5.6.290.0040.01114.73
5.6.280.0050.04117.72
5.6.270.0000.01214.54
5.6.260.0000.01514.70
5.6.250.0100.00314.19
5.6.240.0050.02717.60
5.6.230.0080.04217.55
5.6.220.0030.02517.50
5.6.210.0080.04317.54
5.6.200.0070.04317.59
5.6.190.0060.04317.80
5.6.180.0100.04017.70
5.6.170.0100.03317.88
5.6.160.0050.04317.61
5.6.150.0090.03517.74
5.6.140.0060.03717.78
5.6.130.0050.02817.73
5.6.120.0020.03617.69
5.6.110.0050.02917.66
5.6.100.0100.04417.75
5.6.90.0080.04217.79
5.6.80.0060.02717.47
5.6.70.0120.04017.32
5.6.60.0020.04917.36
5.6.50.0050.02517.46
5.6.40.0130.03817.29
5.6.30.0030.03517.44
5.6.20.0050.03317.53
5.6.10.0050.02517.25
5.6.00.0120.03617.59
5.5.380.0160.03617.24
5.5.370.0030.03117.36
5.5.360.0110.02317.27
5.5.350.0030.04617.28
5.5.340.0050.03117.62
5.5.330.0050.04617.56
5.5.320.0130.04217.62
5.5.310.0030.04517.45
5.5.300.0150.03317.53
5.5.290.0100.03017.59
5.5.280.0080.04017.55
5.5.270.0070.03817.61
5.5.260.0020.04717.37
5.5.250.0050.04217.48
5.5.240.0080.04117.34
5.5.230.0070.02517.18
5.5.220.0060.02717.20
5.5.210.0100.03317.27
5.5.200.0060.04317.07
5.5.190.0130.01817.33
5.5.180.0030.04417.19
5.5.170.0070.00714.37
5.5.160.0050.04417.36
5.5.150.0090.04217.14
5.5.140.0040.02917.28
5.5.130.0050.04517.15
5.5.120.0070.02417.13
5.5.110.0120.03817.09
5.5.100.0020.03217.26
5.5.90.0050.03416.96
5.5.80.0070.03717.18
5.5.70.0090.04616.97
5.5.60.0070.03017.17
5.5.50.0130.03517.15
5.5.40.0120.03817.26
5.5.30.0070.02416.91
5.5.20.0070.02717.10
5.5.10.0110.03617.03
5.5.00.0100.04017.25
5.4.450.0070.03015.35
5.4.440.0080.04015.44
5.4.430.0100.04015.51
5.4.420.0020.03515.46
5.4.410.0150.02815.34
5.4.400.0120.01715.19
5.4.390.0040.02915.18
5.4.380.0060.03815.38
5.4.370.0030.02215.40
5.4.360.0030.04515.35
5.4.350.0050.04115.28
5.4.340.0050.02515.27
5.4.330.0100.00311.58
5.4.320.0050.02915.32
5.4.310.0070.02715.33
5.4.300.0100.03715.32
5.4.290.0060.03515.36
5.4.280.0060.04115.35
5.4.270.0080.02815.36
5.4.260.0030.03315.36
5.4.250.0030.02715.27
5.4.240.0070.04515.31
5.4.230.0110.03015.28
5.4.220.0050.04215.35
5.4.210.0050.03315.33
5.4.200.0070.03815.30
5.4.190.0030.02915.40
5.4.180.0080.03715.41
5.4.170.0050.02615.40
5.4.160.0030.02715.18
5.4.150.0020.04415.33
5.4.140.0070.04113.95
5.4.130.0070.03613.90
5.4.120.0030.03513.89
5.4.110.0060.03813.92
5.4.100.0100.03813.92
5.4.90.0100.02713.98
5.4.80.0050.02113.97
5.4.70.0070.01813.90
5.4.60.0030.02213.93
5.4.50.0030.02313.88
5.4.40.0030.02213.91
5.4.30.0070.01813.88
5.4.20.0020.02313.96
5.4.10.0050.02113.89
5.4.00.0020.02013.62
5.3.290.0000.04413.05
5.3.280.0030.03013.08
5.3.270.0070.03713.04
5.3.260.0050.02813.02
5.3.250.0070.04113.06
5.3.240.0030.03213.02
5.3.230.0030.04213.07
5.3.220.0030.03913.05
5.3.210.0110.03313.05
5.3.200.0100.03813.00
5.3.190.0050.03213.05
5.3.180.0030.03513.01
5.3.170.0040.02213.00
5.3.160.0030.02313.07
5.3.150.0040.02712.98
5.3.140.0020.02413.01
5.3.130.0070.02013.06
5.3.120.0030.02313.06
5.3.110.0050.02313.05
5.3.100.0030.02112.79
5.3.90.0060.02012.79
5.3.80.0050.02312.78
5.3.70.0080.02312.73
5.3.60.0110.01312.67
5.3.50.0050.01812.76
5.3.40.0080.03712.76
5.3.30.0040.02012.74
5.3.20.0050.01812.61
5.3.10.0060.02112.61
5.3.00.0050.02812.61
5.2.170.0000.06011.16
5.2.160.0000.04711.13
5.2.150.0070.02710.93
5.2.140.0000.03010.98
5.2.130.0030.03311.05
5.2.120.0000.03010.96
5.2.110.0100.03311.16
5.2.100.0000.03010.96
5.2.90.0000.03010.96
5.2.80.0030.02711.04
5.2.70.0030.03011.01
5.2.60.0000.03311.08
5.2.50.0000.04011.07
5.2.40.0000.03010.86
5.2.30.0070.04310.97
5.2.20.0030.02710.96
5.2.10.0000.02710.91
5.2.00.0100.04010.75
5.1.60.0100.0379.98
5.1.50.0000.0339.99
5.1.40.0030.03010.00
5.1.30.0000.03010.41
5.1.20.0030.02710.41
5.1.10.0000.02310.13
5.1.00.0030.02310.12
5.0.50.0000.0208.53
5.0.40.0000.0208.43
5.0.30.0030.0278.22
5.0.20.0030.0178.27
5.0.10.0000.0208.25
5.0.00.0000.0308.25
4.4.90.0030.0136.62
4.4.80.0000.0136.62
4.4.70.0030.0136.62
4.4.60.0000.0176.62
4.4.50.0000.0136.62
4.4.40.0000.0276.62
4.4.30.0000.0176.62
4.4.20.0030.0106.62
4.4.10.0000.0176.62
4.4.00.0000.0276.62
4.3.110.0030.0136.62
4.3.100.0030.0136.62
4.3.90.0000.0176.62
4.3.80.0030.0236.62
4.3.70.0000.0136.62
4.3.60.0030.0176.62
4.3.50.0000.0236.62
4.3.40.0030.0206.62
4.3.30.0000.0306.62
4.3.20.0030.0176.62
4.3.10.0000.0176.62
4.3.00.0030.0136.62

preferences:
41.58 ms | 401 KiB | 5 Q