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", "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[0];

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.00416.62
8.3.50.0070.01522.18
8.3.40.0100.00318.95
8.3.30.0190.00019.04
8.3.20.0040.00420.16
8.3.10.0040.00423.52
8.3.00.0050.00319.42
8.2.180.0090.01216.63
8.2.170.0110.00422.96
8.2.160.0030.01020.52
8.2.150.0090.00024.18
8.2.140.0000.00724.66
8.2.130.0040.00426.16
8.2.120.0080.00021.07
8.2.110.0060.00322.42
8.2.100.0110.00018.22
8.2.90.0040.00419.16
8.2.80.0000.00817.97
8.2.70.0030.00617.73
8.2.60.0060.00617.77
8.2.50.0000.00818.07
8.2.40.0040.00418.16
8.2.30.0070.00418.32
8.2.20.0000.00817.80
8.2.10.0030.00517.96
8.2.00.0000.00717.76
8.1.280.0110.00425.92
8.1.270.0080.00023.79
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0060.00323.83
8.1.230.0040.00818.93
8.1.220.0040.00417.74
8.1.210.0080.00018.77
8.1.200.0030.00617.35
8.1.190.0040.00417.13
8.1.180.0050.00318.10
8.1.170.0040.00418.59
8.1.160.0050.00221.98
8.1.150.0000.00718.75
8.1.140.0050.00317.54
8.1.130.0030.00317.76
8.1.120.0000.00717.55
8.1.110.0050.00317.46
8.1.100.0080.00017.37
8.1.90.0030.00417.50
8.1.80.0040.00417.38
8.1.70.0030.00317.51
8.1.60.0040.00417.68
8.1.50.0000.00817.45
8.1.40.0040.00417.61
8.1.30.0000.00817.78
8.1.20.0030.00617.64
8.1.10.0000.00717.71
8.1.00.0030.00517.70
8.0.300.0000.00818.77
8.0.290.0040.00416.88
8.0.280.0030.00318.34
8.0.270.0080.00017.29
8.0.260.0000.00717.28
8.0.250.0070.00017.08
8.0.240.0030.00317.08
8.0.230.0070.00017.00
8.0.220.0030.00616.85
8.0.210.0030.00317.00
8.0.200.0040.00416.93
8.0.190.0040.00417.06
8.0.180.0000.00717.02
8.0.170.0000.00916.98
8.0.160.0030.00316.97
8.0.150.0060.00316.92
8.0.140.0040.00416.97
8.0.130.0000.00613.39
8.0.120.0000.00716.86
8.0.110.0040.00417.05
8.0.100.0070.00016.95
8.0.90.0000.00816.85
8.0.80.0090.00917.07
8.0.70.0040.00416.91
8.0.60.0030.00516.97
8.0.50.0040.00416.75
8.0.30.0130.01017.05
8.0.20.0090.00917.44
8.0.10.0040.00416.98
8.0.00.0110.00617.05
7.4.330.0050.00015.05
7.4.320.0000.00716.58
7.4.300.0000.00616.57
7.4.290.0000.00716.62
7.4.280.0050.00316.78
7.4.270.0000.00716.60
7.4.260.0040.00416.72
7.4.250.0070.00016.72
7.4.240.0040.00316.67
7.4.230.0030.00316.77
7.4.220.0070.01016.60
7.4.210.0070.00716.69
7.4.200.0070.00016.57
7.4.160.0050.01416.73
7.4.150.0070.01017.40
7.4.140.0110.00717.86
7.4.130.0040.01216.72
7.4.120.0100.01116.85
7.4.110.0060.01016.78
7.4.100.0090.01216.62
7.4.90.0070.01116.59
7.4.80.0160.00619.39
7.4.70.0170.00016.65
7.4.60.0030.01316.71
7.4.50.0000.00616.62
7.4.40.0130.00316.57
7.4.30.0100.00716.59
7.4.00.0060.00615.11
7.3.330.0050.00013.05
7.3.320.0050.00013.26
7.3.310.0000.00716.43
7.3.300.0040.00416.39
7.3.290.0060.01016.39
7.3.280.0080.00916.33
7.3.270.0100.01017.40
7.3.260.0110.00716.78
7.3.250.0120.00916.42
7.3.240.0160.00016.41
7.3.230.0090.00616.70
7.3.210.0090.00916.61
7.3.200.0100.00719.39
7.3.190.0080.00816.63
7.3.180.0090.00916.54
7.3.170.0030.01316.52
7.3.160.0060.00916.87
7.3.120.0030.01315.00
7.2.330.0000.02416.86
7.2.320.0070.01016.70
7.2.310.0070.01016.48
7.2.300.0070.01016.66
7.2.290.0070.01416.86
7.2.00.0090.00319.24
7.1.100.0030.00917.81
7.1.70.0130.00017.35
7.1.60.0140.01019.70
7.1.50.0030.02016.72
7.1.00.0070.07322.33
7.0.200.0030.00716.91
7.0.140.0070.07322.13
7.0.60.0100.05019.93
7.0.50.0070.03717.92
7.0.40.0130.08019.92
7.0.30.0400.07020.02
7.0.20.0300.04020.18
7.0.10.0070.06320.35
7.0.00.0230.07320.14
5.6.280.0070.06721.09
5.6.210.0000.04020.43
5.6.200.0030.07018.11
5.6.190.0030.04320.77
5.6.180.0300.07720.60
5.6.170.0230.05720.38
5.6.160.0100.05020.52
5.6.150.0070.05018.12
5.6.140.0070.04718.07
5.6.130.0130.04018.15
5.6.120.0030.05020.98
5.6.110.0130.07720.95
5.6.100.0130.07720.96
5.6.90.0030.05721.02
5.6.80.0130.07020.50
5.5.350.0070.05320.31
5.5.340.0070.08317.96
5.5.330.0100.04020.21
5.5.320.0170.05020.24
5.5.310.0270.06720.32
5.5.300.0130.06317.96
5.5.290.0000.04717.88
5.5.280.0070.06020.87
5.5.270.0000.04720.95
5.5.260.0070.07020.86
5.5.250.0100.03720.57
5.5.240.4400.03720.27
5.4.450.0370.04719.43
5.4.440.0470.05319.21
5.4.430.0300.04719.11
5.4.420.0700.04319.39
5.4.410.0800.04319.28
5.4.400.0430.03719.15
5.4.390.0570.03318.78
5.4.380.0170.05318.57
5.4.370.0200.05718.56
5.4.360.0170.05018.46
5.4.350.0100.05718.56
5.4.340.0130.05318.62
5.4.320.0070.03512.45
5.4.310.0070.03812.45
5.4.300.0060.04112.45
5.4.290.0060.04112.45
5.4.280.0050.03612.34
5.4.270.0070.03512.34
5.4.260.0050.03812.34
5.4.250.0080.03512.35
5.4.240.0070.03512.35
5.4.230.0060.05112.34
5.4.220.0090.04312.34
5.4.210.0050.04312.34
5.4.200.0060.03812.34
5.4.190.0090.03812.34
5.4.180.0070.03912.33
5.4.170.0060.03712.35
5.4.160.0050.03712.34
5.4.150.0050.04212.34
5.4.140.0070.03612.02
5.4.130.0030.04412.01
5.4.120.0040.04511.96
5.4.110.0060.03511.96
5.4.100.0070.04211.96
5.4.90.0060.05211.96
5.4.80.0020.04011.96
5.4.70.0040.04411.96
5.4.60.0040.03611.96
5.4.50.0070.04511.96
5.4.40.0070.03211.95
5.4.30.0060.04511.95
5.4.20.0060.03511.95
5.4.10.0050.03611.95
5.4.00.0070.03411.43
5.3.290.0050.04112.80
5.3.280.0070.04112.71
5.3.270.0060.04612.73
5.3.260.0090.04012.72
5.3.250.0050.04712.72
5.3.240.0120.03512.71
5.3.230.0080.03612.71
5.3.220.0060.03912.68
5.3.210.0090.04212.68
5.3.200.0070.03812.68
5.3.190.0060.03912.67
5.3.180.0050.03812.67
5.3.170.0030.04512.67
5.3.160.0060.04212.67
5.3.150.0060.03712.67
5.3.140.0060.04012.66
5.3.130.0120.04112.66
5.3.120.0100.03412.66
5.3.110.0040.04012.66
5.3.100.0070.04212.12
5.3.90.0070.04912.08
5.3.80.0110.03512.07
5.3.70.0050.03712.07
5.3.60.0060.03812.07
5.3.50.0040.03712.00
5.3.40.0070.03512.00
5.3.30.0060.03411.95
5.3.20.0060.03411.73
5.3.10.0070.03411.70
5.3.00.0050.04211.69
5.2.170.0060.0429.19
5.2.160.0040.0299.19
5.2.150.0050.0369.19
5.2.140.0080.0279.18
5.2.130.0050.0299.14
5.2.120.0020.0319.14
5.2.110.0050.0289.16
5.2.100.0060.0269.15
5.2.90.0070.0269.15
5.2.80.0070.0419.14
5.2.70.0060.0289.14
5.2.60.0090.0269.09
5.2.50.0030.0379.07
5.2.40.0060.0309.05
5.2.30.0040.0369.03
5.2.20.0060.0379.02
5.2.10.0010.0318.92
5.2.00.0090.0368.78
5.1.60.0030.0258.06
5.1.50.0070.0218.05
5.1.40.0070.0298.04
5.1.30.0020.0278.39
5.1.20.0060.0258.41
5.1.10.0010.0288.14
5.1.00.0060.0408.14
5.0.50.0050.0266.61
5.0.40.0030.0206.48
5.0.30.0030.0316.29
5.0.20.0040.0356.26
5.0.10.0070.0236.24
5.0.00.0030.0306.23
4.4.90.0050.0134.77
4.4.80.0000.0174.75
4.4.70.0060.0194.75
4.4.60.0070.0154.75
4.4.50.0040.0144.77
4.4.40.0030.0314.70
4.4.30.0030.0154.76
4.4.20.0030.0164.84
4.4.10.0030.0174.85
4.4.00.0030.0244.76
4.3.110.0050.0134.67
4.3.100.0030.0144.67
4.3.90.0020.0154.63
4.3.80.0050.0234.58
4.3.70.0020.0154.63
4.3.60.0040.0134.63
4.3.50.0010.0174.63
4.3.40.0030.0264.54
4.3.30.0000.0183.29
4.3.20.0010.0223.26
4.3.10.0020.0153.22
4.3.00.0100.00314.86

preferences:
40.22 ms | 401 KiB | 5 Q