3v4l.org

run code in 300+ PHP versions simultaneously
<?php $originPiwikVisitorId = null; if (preg_match('/([0-9a-zA-Z]*)\..*/', '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.01416.88
8.3.50.0140.00722.01
8.3.40.0120.00318.84
8.3.30.0070.00718.83
8.3.20.0050.00320.29
8.3.10.0050.00323.57
8.3.00.0000.00817.68
8.2.180.0140.00718.43
8.2.170.0150.00022.96
8.2.160.0070.00720.52
8.2.150.0080.00024.18
8.2.140.0000.00824.66
8.2.130.0070.00026.16
8.2.120.0000.00917.63
8.2.110.0070.00419.22
8.2.100.0080.00417.84
8.2.90.0080.00019.95
8.2.80.0000.00918.09
8.2.70.0050.00318.04
8.2.60.0000.00718.03
8.2.50.0100.00018.10
8.2.40.0000.00720.60
8.2.30.0030.00320.71
8.2.20.0000.00817.89
8.2.10.0040.00418.02
8.2.00.0040.00418.02
8.1.280.0110.00325.92
8.1.270.0060.00323.79
8.1.260.0080.00026.35
8.1.250.0080.00028.09
8.1.240.0060.00322.47
8.1.230.0070.00420.95
8.1.220.0040.00417.79
8.1.210.0080.00018.84
8.1.200.0040.00417.47
8.1.190.0060.00317.38
8.1.180.0040.00418.10
8.1.170.0090.00018.69
8.1.160.0000.00822.16
8.1.150.0040.00418.88
8.1.140.0040.00419.51
8.1.130.0040.00417.65
8.1.120.0000.00717.61
8.1.110.0050.00317.49
8.1.100.0040.00417.48
8.1.90.0030.00317.43
8.1.80.0040.00417.49
8.1.70.0000.00717.57
8.1.60.0000.00717.62
8.1.50.0050.00317.56
8.1.40.0050.00317.66
8.1.30.0000.00817.63
8.1.20.0000.00817.72
8.1.10.0070.00017.59
8.1.00.0050.00217.59
8.0.300.0000.00719.97
8.0.290.0050.00316.88
8.0.280.0070.00018.46
8.0.270.0000.00717.26
8.0.260.0000.00617.18
8.0.250.0000.00817.00
8.0.240.0000.00716.98
8.0.230.0000.00716.89
8.0.220.0070.00016.96
8.0.210.0080.00016.98
8.0.200.0000.00616.91
8.0.190.0040.00416.95
8.0.180.0050.00217.04
8.0.170.0080.00017.03
8.0.160.0080.00017.00
8.0.150.0030.00516.82
8.0.140.0080.00016.77
8.0.130.0050.00013.39
8.0.120.0030.00616.96
8.0.110.0040.00416.93
8.0.100.0080.00016.88
8.0.90.0030.00316.86
8.0.80.0100.00616.93
8.0.70.0040.00417.01
8.0.60.0040.00416.77
8.0.50.0040.00416.86
8.0.30.0130.00517.21
8.0.20.0140.00717.42
8.0.10.0040.00416.96
8.0.00.0100.00916.75
7.4.330.0050.00015.08
7.4.320.0030.00316.72
7.4.300.0030.00316.66
7.4.290.0070.00016.54
7.4.280.0000.00816.69
7.4.270.0050.00316.79
7.4.260.0030.00316.54
7.4.250.0040.00416.72
7.4.240.0000.00716.71
7.4.230.0050.00316.74
7.4.220.0070.01116.55
7.4.210.0090.01216.62
7.4.200.0070.00016.73
7.4.160.0000.01616.84
7.4.150.0110.00617.40
7.4.140.0150.02517.86
7.4.130.0160.01016.56
7.4.120.0060.01316.62
7.4.110.0080.01116.61
7.4.100.0070.01116.68
7.4.90.0070.01116.69
7.4.80.0130.00619.39
7.4.70.0120.00616.65
7.4.60.0070.01016.64
7.4.50.0000.00716.76
7.4.40.0170.00616.60
7.4.30.0110.00716.68
7.4.00.0060.01014.80
7.3.330.0050.00013.27
7.3.320.0000.00613.28
7.3.310.0000.00716.37
7.3.300.0000.00716.24
7.3.290.0030.01316.34
7.3.280.0090.00716.36
7.3.270.0100.00717.40
7.3.260.0080.00816.68
7.3.240.0110.00616.44
7.3.230.0070.01116.48
7.3.210.0030.01516.52
7.3.200.0050.01316.72
7.3.190.0100.01316.41
7.3.180.0070.01416.65
7.3.170.0100.01016.39
7.3.160.0170.00016.40
7.2.330.0060.01116.57
7.2.320.0030.01316.63
7.2.310.0110.00716.91
7.2.300.0060.00916.74
7.2.290.0090.01016.77
7.1.200.0070.00715.76
7.1.100.0030.00918.13
7.1.70.0090.00417.09
7.1.60.0040.01819.11
7.1.50.0040.00817.09
7.1.00.0070.07322.56
7.0.200.0080.00814.85
7.0.60.0200.07020.02
7.0.50.0030.04017.92
7.0.40.0070.05320.09
7.0.30.0200.07020.21
7.0.20.0330.06320.21
7.0.10.0330.07320.18
7.0.00.0070.07720.00
5.6.280.0000.04020.99
5.6.210.0030.07320.69
5.6.200.0000.07018.09
5.6.190.0030.04320.35
5.6.180.4030.04020.74
5.6.170.0230.07320.50
5.6.160.0100.08020.49
5.6.150.0030.04018.20
5.6.140.0070.07718.09
5.6.130.0100.07718.23
5.6.120.0030.05320.98
5.6.110.0100.08320.98
5.6.100.0070.05721.00
5.6.90.0100.07020.97
5.6.80.0100.07720.37
5.6.70.0000.07020.39
5.5.350.0230.07020.34
5.5.340.0100.05018.02
5.5.330.0000.04320.43
5.5.320.0330.05320.13
5.5.310.0200.06020.33
5.5.300.0070.04317.95
5.5.290.0030.05317.88
5.5.280.0070.08320.68
5.5.270.0030.04320.76
5.5.260.0000.04720.88
5.5.250.0030.04020.57
5.5.240.0100.07720.07
5.4.450.0900.06019.11
5.4.440.0830.06319.46
5.4.430.0830.06019.25
5.4.420.0870.06319.61
5.4.410.1000.05319.49
5.4.400.0770.04319.19
5.4.390.0730.06719.30
5.4.380.0930.05019.32
5.4.370.0700.04719.25
5.4.360.0630.06719.14
5.4.350.0670.06019.25
5.4.340.0770.04319.15
5.4.320.0700.04719.15
5.4.310.0800.05319.15
5.4.300.0970.06019.29
5.4.290.0800.05018.78
5.4.280.0800.05319.21
5.4.270.0900.05019.14
5.4.260.1000.04719.14
5.4.250.0870.04718.79
5.4.240.0830.05019.27
5.4.230.0800.05319.21
5.4.220.0670.05718.78
5.4.210.0800.05019.15
5.4.200.0700.04719.14
5.4.190.0800.06719.17
5.4.180.0930.06319.24
5.4.170.0730.04018.89
5.4.160.0700.06319.20
5.4.150.0830.06019.28
5.4.140.0900.07016.14
5.4.130.0830.04316.32
5.4.120.0630.05316.50
5.4.110.0830.04716.47
5.4.100.0770.04016.54
5.4.90.0630.04716.46
5.4.80.0730.03716.46
5.4.70.0670.04716.50
5.4.60.0800.05016.41
5.4.50.0930.03716.34
5.4.40.0830.05016.44
5.4.30.0970.06716.49
5.4.20.0670.05316.46
5.4.10.1030.05716.46
5.4.00.0930.06015.83

preferences:
33.75 ms | 401 KiB | 5 Q