3v4l.org

run code in 300+ PHP versions simultaneously
<?php $myArray = array( "title" => "My Title", "description" => "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type Code: No Promo Code Required Begin: 2014-07-25 00:00:00 Expire: 0000-00-00 00:00:00 some more content here", "link" => "http://www.gopjn.com/t/3-79115-101746-99698" ); preg_match("/(Code.*Expire:\s\d{4}-\d{2}-\d{2}\s\d{2}:\d{2}:\d{2})/", $myArray["description"], $matches); echo $matches[1];

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.70.0080.01216.75
8.3.60.0110.00716.88
8.3.50.0080.01122.03
8.3.40.0110.00319.02
8.3.30.0070.00719.04
8.3.20.0040.00420.16
8.3.10.0030.00523.66
8.3.00.0080.00019.69
8.2.180.0140.00716.63
8.2.170.0110.00322.96
8.2.160.0100.00720.35
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0080.00026.16
8.2.120.0040.00421.02
8.2.110.0090.00022.38
8.2.100.0110.00018.09
8.2.90.0030.00619.43
8.2.80.0000.00817.97
8.2.70.0000.00817.88
8.2.60.0050.00317.77
8.2.50.0030.00518.07
8.2.40.0030.00620.01
8.2.30.0030.00718.41
8.2.20.0050.00317.77
8.2.10.0030.00517.88
8.2.00.0050.00317.78
8.1.280.0040.01125.92
8.1.270.0090.00023.79
8.1.260.0040.00426.35
8.1.250.0060.00328.09
8.1.240.0090.00022.14
8.1.230.0080.00319.21
8.1.220.0050.00317.79
8.1.210.0000.00818.77
8.1.200.0000.01017.23
8.1.190.0050.00517.38
8.1.180.0000.00818.10
8.1.170.0000.00918.63
8.1.160.0040.00421.96
8.1.150.0030.00618.77
8.1.140.0080.00017.54
8.1.130.0000.00717.88
8.1.120.0020.00517.57
8.1.110.0000.00717.62
8.1.100.0000.00817.60
8.1.90.0000.00717.59
8.1.80.0060.00317.57
8.1.70.0080.00017.56
8.1.60.0000.00917.66
8.1.50.0030.00617.56
8.1.40.0030.00617.61
8.1.30.0030.00517.71
8.1.20.0030.00517.80
8.1.10.0000.00817.66
8.1.00.0080.00017.64
8.0.300.0070.00018.77
8.0.290.0000.00716.88
8.0.280.0000.00718.41
8.0.270.0050.00217.28
8.0.260.0000.00618.35
8.0.250.0030.00317.16
8.0.240.0000.00717.05
8.0.230.0030.00617.04
8.0.220.0030.00717.04
8.0.210.0120.00016.97
8.0.200.0030.00316.93
8.0.190.0000.00817.05
8.0.180.0000.00816.91
8.0.170.0080.00016.99
8.0.160.0000.00716.91
8.0.150.0070.00016.94
8.0.140.0040.00416.98
8.0.130.0060.00013.46
8.0.120.0040.00416.96
8.0.110.0030.00517.04
8.0.100.0080.00016.89
8.0.90.0080.00016.79
8.0.80.0070.01016.99
8.0.70.0070.00017.03
8.0.60.0000.00816.81
8.0.50.0030.00517.00
8.0.30.0170.00917.19
8.0.20.0120.00817.40
8.0.10.0000.00717.17
8.0.00.0150.00317.04
7.4.330.0000.00615.00
7.4.320.0060.00016.75
7.4.300.0000.00616.68
7.4.290.0000.00716.68
7.4.280.0030.00516.71
7.4.270.0000.00716.80
7.4.260.0000.00816.60
7.4.250.0040.00416.64
7.4.240.0040.00416.66
7.4.230.0030.00316.85
7.4.220.0100.01016.69
7.4.210.0050.01116.65
7.4.200.0030.00316.85
7.4.160.0060.01416.46
7.4.150.0140.00817.40
7.4.140.0110.00717.86
7.4.130.0100.00916.81
7.4.120.0120.00916.68
7.4.110.0100.01016.75
7.4.100.0110.01116.62
7.4.90.0160.00016.61
7.4.80.0160.00319.39
7.4.70.0150.00616.56
7.4.60.0070.01016.64
7.4.50.0030.00616.57
7.4.40.0120.00416.49
7.4.30.0100.00716.66
7.4.00.0030.01015.11
7.3.330.0000.00513.11
7.3.320.0020.00313.25
7.3.310.0070.00016.49
7.3.300.0030.00316.28
7.3.290.0100.00916.42
7.3.280.0130.00616.37
7.3.270.0060.01017.40
7.3.260.0060.01216.71
7.3.250.0010.01616.48
7.3.240.0090.01216.42
7.3.230.0140.00316.44
7.3.210.0220.02516.46
7.3.200.0100.00719.39
7.3.190.0130.00916.71
7.3.180.0030.01216.38
7.3.170.0090.00916.46
7.3.160.0080.00816.52
7.3.120.0040.01115.13
7.2.330.0090.00616.66
7.2.320.0120.00616.84
7.2.310.0070.01016.68
7.2.300.0090.00616.57
7.2.290.0030.01816.88
7.2.00.0090.00919.51
7.1.100.0090.00318.37
7.1.70.0090.00017.10
7.1.60.0120.00919.70
7.1.50.0070.01416.75
7.1.00.0100.07022.48
7.0.200.0000.01016.88
7.0.140.0100.06322.13
7.0.60.0230.07719.79
7.0.50.0030.04317.81
7.0.40.0100.06320.26
7.0.30.0270.07020.15
7.0.20.0200.05020.35
7.0.10.0270.05020.23
7.0.00.0130.08720.05
5.6.280.0100.06721.11
5.6.210.0200.06720.69
5.6.200.0030.04018.23
5.6.190.0100.08320.61
5.6.180.0230.03720.48
5.6.170.0330.07320.61
5.6.160.0130.08320.32
5.6.150.0030.08318.17
5.6.140.0100.07718.09
5.6.130.0200.06718.18
5.6.120.0070.08320.99
5.6.110.0030.04321.13
5.6.100.0000.04321.01
5.6.90.0070.04020.96
5.6.80.0130.03020.38
5.5.350.0030.07720.53
5.5.340.0030.06317.88
5.5.330.0070.08720.21
5.5.320.3500.04020.41
5.5.310.0130.04720.28
5.5.300.0070.06717.91
5.5.290.0030.08317.92
5.5.280.0100.03720.68
5.5.270.0100.07320.89
5.5.260.0130.07020.95
5.5.250.0100.08320.54
5.5.240.0130.07020.25
5.4.450.0330.04019.39
5.4.440.0230.04719.46
5.4.430.0530.04019.56
5.4.420.0200.04319.21
5.4.410.0370.03319.33
5.4.400.0700.03718.92
5.4.390.0430.04718.92
5.4.380.0130.05318.53
5.4.370.0100.05318.68
5.4.360.0230.04318.59
5.4.350.0170.05018.64
5.4.340.0200.05318.62
5.4.320.0070.03412.45
5.4.310.0080.03412.45
5.4.300.0070.03512.45
5.4.290.0070.04312.45
5.4.280.0030.03912.34
5.4.270.0020.04012.34
5.4.260.0080.03512.34
5.4.250.0060.03712.34
5.4.240.0080.03412.35
5.4.230.0080.03812.34
5.4.220.0080.03512.34
5.4.210.0080.03712.34
5.4.200.0050.04712.34
5.4.190.0050.04112.33
5.4.180.0030.04212.34
5.4.170.0050.03812.34
5.4.160.0120.03512.34
5.4.150.0090.03812.34
5.4.140.0080.04412.02
5.4.130.0040.03612.01
5.4.120.0040.03711.97
5.4.110.0050.03511.96
5.4.100.0080.03211.96
5.4.90.0040.03711.96
5.4.80.0080.03411.96
5.4.70.0080.03411.96
5.4.60.0050.03511.96
5.4.50.0060.03511.96
5.4.40.0060.03311.95
5.4.30.0070.03511.95
5.4.20.0050.03611.95
5.4.10.0090.03211.95
5.4.00.0050.03711.44
5.3.290.0040.04912.80
5.3.280.0100.03412.71
5.3.270.0090.03612.72
5.3.260.0100.03412.72
5.3.250.0080.03512.72
5.3.240.0080.03512.72
5.3.230.0050.03912.71
5.3.220.0100.03212.68
5.3.210.0060.03912.68
5.3.200.0050.03812.68
5.3.190.0060.04212.68
5.3.180.0060.03612.68
5.3.170.0040.03812.66
5.3.160.0060.03712.68
5.3.150.0100.03412.68
5.3.140.0030.03812.66
5.3.130.0070.03712.66
5.3.120.0050.04912.66
5.3.110.0040.04012.66
5.3.100.0060.03712.12
5.3.90.0100.03212.08
5.3.80.0100.03112.08
5.3.70.0050.03812.07
5.3.60.0020.04012.06
5.3.50.0110.03012.00
5.3.40.0060.03512.00
5.3.30.0040.03511.95
5.3.20.0070.03211.73
5.3.10.0040.03511.70
5.3.00.0060.04211.69
5.2.170.0050.0369.19
5.2.160.0040.0379.19
5.2.150.0040.0309.19
5.2.140.0030.0329.19
5.2.130.0040.0299.14
5.2.120.0040.0309.14
5.2.110.0070.0329.15
5.2.100.0090.0329.15
5.2.90.0030.0359.15
5.2.80.0040.0309.14
5.2.70.0080.0299.15
5.2.60.0080.0269.10
5.2.50.0030.0319.07
5.2.40.0040.0299.05
5.2.30.0080.0329.03
5.2.20.0050.0309.02
5.2.10.0070.0258.92
5.2.00.0050.0298.78
5.1.60.0040.0248.06
5.1.50.0020.0318.06
5.1.40.0050.0238.04
5.1.30.0020.0298.39
5.1.20.0030.0308.41
5.1.10.0020.0288.14
5.1.00.0050.0308.14
5.0.50.0040.0246.61
5.0.40.0040.0196.48
5.0.30.0030.0376.29
5.0.20.0050.0256.26
5.0.10.0030.0206.24
5.0.00.0020.0316.23
4.4.90.0050.0124.77
4.4.80.0010.0214.76
4.4.70.0020.0154.75
4.4.60.0020.0154.76
4.4.50.0020.0154.77
4.4.40.0020.0254.71
4.4.30.0040.0234.76
4.4.20.0040.0144.85
4.4.10.0040.0144.85
4.4.00.0030.0284.76
4.3.110.0000.0194.67
4.3.100.0050.0134.66
4.3.90.0010.0164.63
4.3.80.0030.0254.58
4.3.70.0030.0144.63
4.3.60.0030.0144.63
4.3.50.0060.0124.63
4.3.40.0010.0264.54
4.3.30.0030.0153.29
4.3.20.0010.0173.26
4.3.10.0040.0143.22
4.3.00.0100.01314.86

preferences:
42.13 ms | 401 KiB | 5 Q