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]; print_r($matches[2]); } #----- # 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.0040.01116.88
8.3.50.0200.00916.61
8.3.40.0100.00719.07
8.3.30.0120.00319.09
8.3.20.0040.00418.74
8.3.10.0140.00420.86
8.3.00.0040.00419.76
8.2.180.0110.01116.88
8.2.170.0090.00622.96
8.2.160.0120.00320.95
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0000.00826.16
8.2.120.0040.00818.97
8.2.110.0030.00621.05
8.2.100.0070.00318.03
8.2.90.0040.00419.34
8.2.80.0050.00219.38
8.2.70.0000.00817.75
8.2.60.0050.00318.05
8.2.50.0030.00618.07
8.2.40.0000.00818.34
8.2.30.0040.00418.20
8.2.20.0030.00617.76
8.2.10.0000.00717.97
8.2.00.0000.00817.96
8.1.280.0140.00725.92
8.1.270.0060.00323.99
8.1.260.0040.00426.35
8.1.250.0030.00628.09
8.1.240.0030.00723.68
8.1.230.0040.00720.96
8.1.220.0060.00318.77
8.1.210.0000.00919.02
8.1.200.0000.01217.35
8.1.190.0030.00617.53
8.1.180.0030.00518.10
8.1.170.0040.00418.86
8.1.160.0020.00518.81
8.1.150.0080.00018.84
8.1.140.0000.00717.53
8.1.130.0030.00317.81
8.1.120.0040.00417.52
8.1.110.0000.00717.51
8.1.100.0040.00417.51
8.1.90.0000.00717.62
8.1.80.0070.00017.56
8.1.70.0040.00417.56
8.1.60.0090.00017.67
8.1.50.0000.00717.57
8.1.40.0060.00317.68
8.1.30.0040.00417.72
8.1.20.0030.00517.84
8.1.10.0070.00017.65
8.1.00.0000.00717.72
8.0.300.0030.00619.98
8.0.290.0040.00416.88
8.0.280.0000.00718.52
8.0.270.0070.00017.33
8.0.260.0000.00716.96
8.0.250.0080.00017.17
8.0.240.0000.00817.15
8.0.230.0000.00717.08
8.0.220.0040.00417.07
8.0.210.0070.00017.12
8.0.200.0030.00317.04
8.0.190.0040.00317.07
8.0.180.0000.00717.16
8.0.170.0060.00317.02
8.0.160.0000.00717.03
8.0.150.0030.00616.93
8.0.140.0060.00617.03
8.0.130.0000.00613.54
8.0.120.0070.00017.07
8.0.110.0030.00617.07
8.0.100.0070.00017.04
8.0.90.0040.00417.23
8.0.80.0070.01016.99
8.0.70.0000.00716.98
8.0.60.0040.00416.98
8.0.50.0080.00017.00
8.0.30.0090.00917.58
8.0.20.0100.00817.29
8.0.10.0000.00817.19
8.0.00.0110.00916.88
7.4.330.0050.00013.18
7.4.320.0030.00316.83
7.4.300.0060.00016.82
7.4.290.0030.00316.71
7.4.280.0040.00716.80
7.4.270.0070.00016.77
7.4.260.0030.00313.61
7.4.250.0060.00316.76
7.4.240.0000.00716.84
7.4.230.0000.00716.75
7.4.220.0150.00616.76
7.4.210.0130.00416.67
7.4.200.0000.00716.71
7.4.190.0080.00016.83
7.4.160.0100.01016.66
7.4.150.0090.00916.59
7.4.140.0160.00016.65
7.4.130.0060.01516.73
7.4.120.0110.00616.67
7.4.110.0120.00616.78
7.4.100.0120.00616.80
7.4.90.0090.00916.62
7.4.80.0180.00019.39
7.4.70.0080.01016.63
7.4.60.0130.00316.57
7.4.50.0000.00416.55
7.4.40.0030.01016.50
7.4.30.0070.00716.72
7.4.10.0120.00615.05
7.4.00.0060.01115.19
7.3.330.0000.00613.45
7.3.320.0060.00013.43
7.3.310.0030.00316.54
7.3.300.0000.00616.44
7.3.290.0100.00616.54
7.3.280.0050.01416.59
7.3.270.0110.00616.70
7.3.260.0070.01016.60
7.3.250.0110.01116.67
7.3.240.0130.00416.56
7.3.230.0000.01616.48
7.3.210.0030.01316.66
7.3.200.0040.01116.68
7.3.190.0080.00816.69
7.3.180.0110.00416.63
7.3.170.0100.01016.64
7.3.160.0100.00716.64
7.3.130.0070.01115.12
7.3.120.0050.01215.16
7.3.110.0080.01115.00
7.3.100.0050.01215.04
7.3.90.0060.00814.97
7.3.80.0050.00815.07
7.3.70.0030.01115.08
7.3.60.0050.00614.93
7.3.50.0020.01014.96
7.3.40.0060.00515.11
7.3.30.0080.00614.92
7.3.20.0060.00716.83
7.3.10.0050.00916.86
7.3.00.0050.00816.89
7.2.330.0100.01016.83
7.2.320.0120.00616.89
7.2.310.0120.00916.73
7.2.300.0130.00716.88
7.2.290.0100.00616.79
7.2.260.0040.01415.00
7.2.250.0070.01114.90
7.2.240.0110.00615.20
7.2.230.0060.01115.28
7.2.220.0070.00915.05
7.2.210.0060.00715.22
7.2.200.0050.00615.24
7.2.190.0040.00915.09
7.2.180.0040.00915.03
7.2.170.0080.00815.04
7.2.160.0070.00915.02
7.2.150.0040.00616.96
7.2.140.0060.00717.14
7.2.130.0050.00616.99
7.2.120.0090.00616.86
7.2.110.0080.00717.06
7.2.100.0020.01116.94
7.2.90.0080.00617.09
7.2.80.0030.01017.12
7.2.70.0030.01117.22
7.2.60.0060.00717.14
7.2.50.0080.00617.09
7.2.40.0100.00717.05
7.2.30.0040.00916.95
7.2.20.0040.01117.01
7.2.10.0070.00716.95
7.2.00.0020.01017.64
7.1.330.0030.00915.88
7.1.320.0030.00816.07
7.1.310.0040.00716.02
7.1.300.0060.00616.09
7.1.290.0030.00815.96
7.1.280.0010.01115.85
7.1.270.0060.00816.08
7.1.260.0050.00916.01
7.1.250.0050.01016.02
7.1.240.0030.00916.03
7.1.230.0050.01016.10
7.1.220.0030.00915.90
7.1.210.0060.00915.92
7.1.200.0070.00316.02
7.1.190.0060.00615.99
7.1.180.0060.00615.78
7.1.170.0040.01115.92
7.1.160.0070.00715.89
7.1.150.0020.00915.87
7.1.140.0050.00915.93
7.1.130.0050.00715.94
7.1.120.0020.01015.93
7.1.110.0040.00716.02
7.1.100.0050.00616.66
7.1.90.0020.01215.98
7.1.80.0050.01016.04
7.1.70.0090.00616.32
7.1.60.0060.00817.15
7.1.50.0090.00716.32
7.1.40.0050.01115.98
7.1.30.0050.01015.92
7.1.20.0070.00515.94
7.1.10.0040.01016.09
7.1.00.0020.01918.05
7.0.330.0080.00015.59
7.0.320.0030.01015.47
7.0.310.0030.00615.64
7.0.300.0060.00715.65
7.0.290.0080.00215.57
7.0.280.0050.00915.37
7.0.270.0040.00815.56
7.0.260.0000.01015.50
7.0.250.0010.01115.62
7.0.240.0020.00815.62
7.0.230.0060.00815.55
7.0.220.0000.01315.48
7.0.210.0070.00415.49
7.0.200.0160.00315.23
7.0.190.0050.01015.60
7.0.180.0040.00615.73
7.0.170.0020.00815.65
7.0.160.0020.01215.50
7.0.150.0050.00515.54
7.0.140.0060.02917.80
7.0.130.0050.00715.67
7.0.120.0030.02817.71
7.0.110.0030.00815.39
7.0.100.0030.01115.54
7.0.90.0050.00815.67
7.0.80.0060.00615.45
7.0.70.0070.00515.57
7.0.60.0060.01516.91
7.0.50.0030.03316.27
7.0.40.0040.02015.71
7.0.30.0140.02915.85
7.0.20.0160.03115.83
7.0.10.0090.02915.78
7.0.00.0020.02015.86
5.6.400.0110.00014.50
5.6.390.0000.01414.33
5.6.380.0060.00514.52
5.6.370.0070.00714.39
5.6.360.0060.00714.44
5.6.350.0050.00514.09
5.6.340.0040.00714.26
5.6.330.0030.01014.20
5.6.320.0040.00614.74
5.6.310.0040.00714.44
5.6.300.0070.00414.74
5.6.290.0000.00814.50
5.6.280.0040.02916.69
5.6.270.0050.00714.39
5.6.260.0070.00714.26
5.6.250.0070.00514.51
5.6.240.0060.00814.42
5.6.230.0100.00114.53
5.6.220.0080.00414.44
5.6.210.0080.03016.44
5.6.200.0040.03515.63
5.6.190.0010.02416.53
5.6.180.0090.02216.33
5.6.170.0140.03016.47
5.6.160.0070.02916.34
5.6.150.0040.02215.66
5.6.140.0080.03015.54
5.6.130.0060.03115.70
5.6.120.0090.01916.58
5.6.110.0040.03516.50
5.6.100.0070.03416.59
5.6.90.0060.03416.58
5.6.80.0030.02816.23
5.6.70.0120.01116.28
5.6.60.0100.00414.28
5.6.50.0030.01114.37
5.6.40.0020.00714.19
5.6.30.0080.00514.28
5.6.20.0080.00614.34
5.6.10.0050.00914.26
5.6.00.0040.00914.16
5.5.380.0040.00812.53
5.5.370.0030.00812.73
5.5.360.0090.00112.55
5.5.350.0140.03015.20
5.5.340.0040.02114.49
5.5.330.0090.02415.26
5.5.320.0110.03215.06
5.5.310.0140.02815.37
5.5.300.0040.03414.45
5.5.290.0080.01614.53
5.5.280.0100.01615.48
5.5.270.0030.02215.22
5.5.260.0070.01715.22
5.5.250.0050.02715.40
5.5.240.0070.01515.16
5.5.230.0080.00312.71
5.5.220.0060.00612.46
5.5.210.0050.00812.51
5.5.200.0080.00312.50
5.5.190.0050.00812.38
5.5.180.0030.00812.63
5.5.170.0060.00712.64
5.5.160.0080.00312.40
5.5.150.0060.00712.80
5.5.140.0020.01012.52
5.5.130.0050.00812.56
5.5.120.0110.00512.69
5.5.110.0020.01312.57
5.5.100.0040.00512.59
5.5.90.0120.00512.64
5.5.80.0040.00812.53
5.5.70.0050.00812.68
5.5.60.0050.00712.62
5.5.50.0020.01012.70
5.5.40.0070.00612.50
5.5.30.0070.00412.63
5.5.20.0020.01112.65
5.5.10.0070.00712.55
5.5.00.0020.01212.62
5.4.450.0040.02013.93
5.4.440.0050.01713.87
5.4.430.0050.02413.79
5.4.420.0030.03313.71
5.4.410.0060.01513.80
5.4.400.0040.03013.60
5.4.390.0060.02113.63
5.4.380.0050.03013.70
5.4.370.0080.01613.60
5.4.360.0100.01213.62
5.4.350.0030.02113.73
5.4.340.0040.01513.58
5.4.330.0060.00311.09
5.4.320.0050.01513.70
5.4.310.0040.02413.54
5.4.300.0050.01813.58
5.4.290.0030.01813.69
5.4.280.0040.01813.56
5.4.270.0020.02413.68
5.4.260.0050.02313.82
5.4.250.0020.01913.52
5.4.240.0030.01913.75
5.4.230.0070.02813.67
5.4.220.0060.02813.70
5.4.210.0020.02013.61
5.4.200.0060.02713.66
5.4.190.0070.01413.53
5.4.180.0040.01613.81
5.4.170.0020.02413.53
5.4.160.0120.01913.63
5.4.150.0020.02413.82
5.4.140.0070.02612.77
5.4.130.0060.02612.65
5.4.120.0070.02512.68
5.4.110.0050.02712.81
5.4.100.0050.01712.77
5.4.90.0030.01712.73
5.4.80.0090.02312.84
5.4.70.0080.02712.84
5.4.60.0040.01912.71
5.4.50.0050.02712.75
5.4.40.0070.01912.64
5.4.30.0080.02712.86
5.4.20.0040.01812.72
5.4.10.0020.02212.87
5.4.00.0080.02212.51
5.3.290.0040.01411.91
5.3.280.0080.01711.86
5.3.270.0040.02711.82
5.3.260.0060.02611.85
5.3.250.0070.01711.75
5.3.240.0060.01311.82
5.3.230.0060.02911.86
5.3.220.0070.02911.81
5.3.210.0070.02711.74
5.3.200.0040.02211.67
5.3.190.0020.02111.76
5.3.180.0030.02511.91
5.3.170.0060.01711.93
5.3.160.0070.02811.82
5.3.150.0050.02311.91
5.3.140.0050.02811.91
5.3.130.0070.02511.86
5.3.120.0070.01711.84
5.3.110.0050.01511.82
5.3.100.0050.02611.65
5.3.90.0060.02611.71
5.3.80.0020.03011.53
5.3.70.0060.01911.35
5.3.60.0070.02811.50
5.3.50.0080.02511.57
5.3.40.0050.02711.56
5.3.30.0050.03011.60
5.3.20.0090.02411.41
5.3.10.0040.02611.36
5.3.00.0010.03011.19
5.2.170.0060.02010.33
5.2.160.0030.01710.22
5.2.150.0080.03110.17
5.2.140.0030.01810.30
5.2.130.0050.02010.30
5.2.120.0070.02510.19
5.2.110.0050.01810.15
5.2.100.0050.02210.31
5.2.90.0030.02210.25
5.2.80.0040.03610.23
5.2.70.0040.03210.29
5.2.60.0050.03110.30
5.2.50.0000.02410.18
5.2.40.0060.01710.32
5.2.30.0050.01510.11
5.2.20.0050.03210.15
5.2.10.0020.0259.98
5.2.00.0020.0189.86
5.1.60.0020.0149.21
5.1.50.0030.0139.25
5.1.40.0050.0259.27
5.1.30.0040.0169.54
5.1.20.0030.0189.53
5.1.10.0050.0129.41
5.1.00.0020.0289.29
5.0.50.0030.0288.51
5.0.40.0080.0228.37
5.0.30.0030.0238.35
5.0.20.0040.0228.27
5.0.10.0020.0178.27
5.0.00.0060.0278.27
4.4.90.0020.0188.27
4.4.80.0040.0188.27
4.4.70.0030.0088.27
4.4.60.0020.0118.27
4.4.50.0030.0108.27
4.4.40.0050.0138.27
4.4.30.0040.0088.27
4.4.20.0040.0088.27
4.4.10.0040.0178.27
4.4.00.0010.0308.27
4.3.110.0010.0208.27
4.3.100.0060.0138.27
4.3.90.0040.0138.27
4.3.80.0040.0268.27
4.3.70.0030.0188.27
4.3.60.0010.0138.27
4.3.50.0010.0108.27
4.3.40.0020.0208.27
4.3.30.0000.0198.27
4.3.20.0030.0118.27
4.3.10.0020.0118.27
4.3.00.0020.0128.27

preferences:
64.91 ms | 401 KiB | 5 Q