3v4l.org

run code in 300+ PHP versions simultaneously
<?php $originPiwikVisitorId = null; if (preg_match('/([0-9a-zA-Z]*)\..*/g', '3e5035da4a186908.1444637964.6.1445411285.1445411282.', $matches)) { $originPiwikVisitorId = array_pop($matches); } echo $originPiwikVisitorId;

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.0070.01116.63
8.3.50.0180.00422.03
8.3.40.0050.01018.88
8.3.30.0040.01118.63
8.3.20.0040.00420.38
8.3.10.0040.00423.47
8.3.00.0030.00517.93
8.2.180.0110.01118.48
8.2.170.0000.01422.96
8.2.160.0110.00820.19
8.2.150.0000.00724.18
8.2.140.0080.00024.66
8.2.130.0070.00026.16
8.2.120.0030.00617.63
8.2.110.0090.00921.09
8.2.100.0040.00817.78
8.2.90.0000.00918.03
8.2.80.0040.00418.16
8.2.70.0030.00518.05
8.2.60.0080.00017.66
8.2.50.0000.01018.10
8.2.40.0040.00420.61
8.2.30.0040.00420.61
8.2.20.0000.00717.67
8.2.10.0000.00718.05
8.2.00.0020.00517.99
8.1.280.0060.00925.92
8.1.270.0040.00423.76
8.1.260.0000.00726.35
8.1.250.0080.00028.09
8.1.240.0000.00922.52
8.1.230.0060.00320.96
8.1.220.0000.00817.74
8.1.210.0040.00418.85
8.1.200.0040.00417.23
8.1.190.0080.00017.09
8.1.180.0080.00018.10
8.1.170.0050.00318.43
8.1.160.0070.00022.03
8.1.150.0040.00418.82
8.1.140.0040.00419.43
8.1.130.0040.00417.63
8.1.120.0000.00717.31
8.1.110.0020.00517.28
8.1.100.0070.00017.30
8.1.90.0000.00717.41
8.1.80.0000.00717.37
8.1.70.0050.00217.34
8.1.60.0040.00417.46
8.1.50.0000.00717.35
8.1.40.0060.00317.43
8.1.30.0040.00417.48
8.1.20.0000.00717.54
8.1.10.0040.00417.50
8.1.00.0000.00717.41
8.0.300.0030.00320.08
8.0.290.0040.00416.88
8.0.280.0070.00018.34
8.0.270.0040.00417.25
8.0.260.0000.00817.29
8.0.250.0040.00417.01
8.0.240.0000.00716.92
8.0.230.0000.00716.95
8.0.220.0000.00716.86
8.0.210.0040.00416.86
8.0.200.0060.00016.82
8.0.190.0030.00516.98
8.0.180.0040.00416.90
8.0.170.0040.00416.74
8.0.160.0070.00016.91
8.0.150.0030.00316.88
8.0.140.0080.00016.73
8.0.130.0090.00013.34
8.0.120.0050.00316.81
8.0.110.0000.00716.73
8.0.100.0000.00816.95
8.0.90.0050.00216.83
8.0.80.0060.01016.90
8.0.70.0030.00317.00
8.0.60.0050.00316.89
8.0.50.0040.00416.85
8.0.30.0130.00516.89
8.0.20.0140.00517.40
8.0.10.0050.00217.02
8.0.00.0080.01116.80
7.4.330.0050.00015.08
7.4.320.0000.00616.33
7.4.300.0000.00716.43
7.4.290.0060.00016.37
7.4.280.0080.00016.55
7.4.270.0050.00316.46
7.4.260.0030.00316.51
7.4.250.0040.00416.41
7.4.240.0020.00516.51
7.4.230.0030.00516.52
7.4.220.0060.01616.56
7.4.210.0090.01016.63
7.4.200.0020.00516.27
7.4.160.0120.00316.40
7.4.150.0120.01117.40
7.4.140.0110.00817.86
7.4.130.0080.01116.50
7.4.120.0110.00816.44
7.4.110.0080.01116.63
7.4.100.0030.01316.46
7.4.90.0170.00016.61
7.4.80.0120.00419.39
7.4.70.0070.01016.41
7.4.60.0100.00616.57
7.4.50.0000.00616.34
7.4.40.0090.01216.45
7.4.30.0120.00916.41
7.4.00.0030.00615.02
7.3.330.0000.00613.13
7.3.320.0030.00313.10
7.3.310.0000.00716.20
7.3.300.0030.00316.17
7.3.290.0090.00616.24
7.3.280.0120.00716.27
7.3.270.0060.01217.40
7.3.260.0170.00016.47
7.3.250.0080.01016.29
7.3.240.0150.00516.27
7.3.230.0040.01316.41
7.3.210.0030.01416.35
7.3.200.0150.00816.33
7.3.190.0180.00616.22
7.3.180.0070.01016.19
7.3.170.0100.01016.59
7.3.160.0100.00616.38
7.3.10.0040.01116.62
7.3.00.0130.00016.61
7.2.330.0000.01716.32
7.2.320.0080.00816.54
7.2.310.0090.00916.22
7.2.300.0150.00616.27
7.2.290.0030.01716.55
7.2.130.0070.00316.74
7.2.120.0040.00716.78
7.2.110.0000.01016.80
7.2.100.0080.00816.90
7.2.90.0100.00316.89
7.2.80.0070.00716.87
7.2.70.0110.00416.37
7.2.60.0030.00916.88
7.2.50.0000.01216.84
7.2.40.0030.01016.60
7.2.30.0070.00716.74
7.2.20.0070.01016.90
7.2.10.0110.00416.75
7.2.00.0030.00917.96
7.1.250.0060.00915.93
7.1.100.0040.00817.87
7.1.70.0080.00316.89
7.1.60.0060.00919.11
7.1.50.0100.00016.82
7.1.00.0070.07322.36
7.0.200.1690.00714.80
7.0.60.0070.08320.00
7.0.50.0000.04317.91
7.0.40.0170.07720.05
7.0.30.0270.08720.02
7.0.20.0170.04320.13
7.0.10.0300.06720.33
7.0.00.0130.04320.16
5.6.280.0000.03321.10
5.6.210.0030.07320.62
5.6.200.0030.09018.15
5.6.190.0100.05320.43
5.6.180.4070.03720.56
5.6.170.0470.07320.51
5.6.160.0100.08020.44
5.6.150.0030.04018.21
5.6.140.0030.08318.21
5.6.130.0070.07318.22
5.6.120.0070.05020.99
5.6.110.0100.03721.01
5.6.100.0130.05020.98
5.6.90.0370.06321.13
5.6.80.0130.07720.38
5.6.70.0030.08020.37
5.5.350.0200.07720.38
5.5.340.0000.04317.88
5.5.330.0030.06320.21
5.5.320.0200.06720.41
5.5.310.0230.03720.16
5.5.300.0030.04717.92
5.5.290.0070.08717.91
5.5.280.0070.08320.76
5.5.270.0070.08020.88
5.5.260.0070.04020.87
5.5.250.0070.03720.66
5.5.240.0130.05020.18
5.4.450.0670.06719.47
5.4.440.0730.05319.47
5.4.430.0670.05319.22
5.4.420.0930.04319.38
5.4.410.0830.05319.38
5.4.400.0870.04318.75
5.4.390.0900.06018.98
5.4.380.0770.06718.93
5.4.370.0670.05019.30
5.4.360.0630.06018.80
5.4.350.0800.05019.09
5.4.340.0900.06019.12
5.4.320.0800.05318.98
5.4.310.1000.03719.07
5.4.300.1000.06319.30
5.4.290.0670.05319.27
5.4.280.0700.05319.21
5.4.270.1000.07319.30
5.4.260.0970.08019.18
5.4.250.1100.07019.29
5.4.240.0800.05719.13
5.4.230.0670.05719.27
5.4.220.0730.04319.14
5.4.210.0870.05719.06
5.4.200.0870.04719.12
5.4.190.0830.06019.05
5.4.180.0830.05018.97
5.4.170.0930.05319.20
5.4.160.0800.07719.27
5.4.150.0800.06319.16
5.4.140.0800.07316.16
5.4.130.0670.04716.34
5.4.120.0800.04016.25
5.4.110.0530.06016.16
5.4.100.0630.06016.52
5.4.90.0700.04316.49
5.4.80.0630.06316.35
5.4.70.0830.05316.18
5.4.60.0730.06016.42
5.4.50.0900.06016.51
5.4.40.0700.06016.44
5.4.30.0800.05716.42
5.4.20.0830.05016.20
5.4.10.0900.06016.45
5.4.00.0730.05015.74

preferences:
65.05 ms | 401 KiB | 5 Q