3v4l.org

run code in 300+ PHP versions simultaneously
<?php $where = array('bla = :bla' => 12); $expression = null; foreach($where as $cond => $term) { if(preg_match('/(:\S+)/', $cond, $matches)) { $expression = $cond; } } echo $expression;

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.0000.01516.50
8.3.50.0070.01322.11
8.3.40.0070.01018.84
8.3.30.0070.00718.95
8.3.20.0050.00220.34
8.3.10.0040.00423.51
8.3.00.0030.00619.66
8.2.180.0130.01018.54
8.2.170.0090.00622.96
8.2.160.0100.00320.35
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0000.00726.16
8.2.120.0050.00221.14
8.2.110.0040.00419.37
8.2.100.0040.00717.84
8.2.90.0000.00918.22
8.2.80.0050.00317.97
8.2.70.0030.00617.75
8.2.60.0030.00617.93
8.2.50.0030.00618.07
8.2.40.0040.00417.91
8.2.30.0070.00318.20
8.2.20.0000.00717.81
8.2.10.0040.00418.13
8.2.00.0040.00417.86
8.1.280.0040.01125.92
8.1.270.0080.00023.79
8.1.260.0080.00026.35
8.1.250.0070.00028.09
8.1.240.0060.00322.18
8.1.230.0040.00821.10
8.1.220.0000.00817.78
8.1.210.0060.00319.03
8.1.200.0090.00317.48
8.1.190.0060.00317.35
8.1.180.0000.00818.10
8.1.170.0000.01018.55
8.1.160.0040.00422.03
8.1.150.0050.00318.80
8.1.140.0000.00817.48
8.1.130.0050.00317.76
8.1.120.0000.00717.47
8.1.110.0040.00417.48
8.1.100.0070.00017.54
8.1.90.0080.00017.59
8.1.80.0080.00017.60
8.1.70.0030.00317.48
8.1.60.0040.00817.72
8.1.50.0000.00817.56
8.1.40.0060.00317.68
8.1.30.0000.00817.79
8.1.20.0030.00517.77
8.1.10.0000.00817.52
8.1.00.0030.00517.54
8.0.300.0000.00719.85
8.0.290.0040.00416.88
8.0.280.0000.00718.46
8.0.270.0000.00717.21
8.0.260.0000.00717.15
8.0.250.0000.00717.06
8.0.240.0050.00316.98
8.0.230.0080.00017.10
8.0.220.0030.00617.05
8.0.210.0000.00717.01
8.0.200.0030.00317.09
8.0.190.0070.00017.12
8.0.180.0050.00217.05
8.0.170.0000.00716.98
8.0.160.0030.00316.94
8.0.150.0080.00016.82
8.0.140.0040.00416.83
8.0.130.0050.00013.48
8.0.120.0000.00917.01
8.0.110.0040.00417.04
8.0.100.0040.00417.04
8.0.90.0060.00316.82
8.0.80.0090.00917.00
8.0.70.0040.00416.91
8.0.60.0000.00716.97
8.0.50.0030.00616.80
8.0.30.0100.01117.13
8.0.20.0100.00717.40
8.0.10.0040.00417.13
8.0.00.0160.00616.89
7.4.330.0050.00015.07
7.4.320.0060.00016.84
7.4.300.0030.00316.71
7.4.290.0000.00716.77
7.4.280.0070.00016.80
7.4.270.0070.00016.79
7.4.260.0070.00316.70
7.4.250.0040.00416.73
7.4.240.0020.00516.70
7.4.230.0000.00816.68
7.4.220.0130.01316.61
7.4.210.0030.01316.88
7.4.200.0040.00416.75
7.4.160.0070.01416.52
7.4.150.0070.01017.40
7.4.140.0100.00717.86
7.4.130.0080.00916.69
7.4.120.0070.01016.79
7.4.110.0150.00916.58
7.4.100.0030.01616.88
7.4.90.0060.01216.65
7.4.80.0090.01319.39
7.4.70.0100.00716.58
7.4.60.0030.01216.51
7.4.50.0000.00816.57
7.4.40.0060.00916.60
7.4.30.0100.00716.57
7.4.00.0060.01015.07
7.3.330.0060.00013.22
7.3.320.0050.00013.26
7.3.310.0030.00316.31
7.3.300.0000.00716.48
7.3.290.0070.01016.43
7.3.280.0120.00616.41
7.3.270.0100.01017.40
7.3.260.0180.00616.45
7.3.250.0090.01016.72
7.3.240.0100.00716.51
7.3.230.0100.00716.81
7.3.210.0100.00716.54
7.3.200.0100.00719.39
7.3.190.0140.00316.47
7.3.180.0070.00716.45
7.3.170.0090.00916.87
7.3.160.0120.00416.48
7.3.120.0050.00815.09
7.3.110.0090.00014.93
7.3.100.0100.00015.16
7.3.90.0060.00314.98
7.3.80.0040.00714.93
7.3.70.0000.01514.79
7.3.60.0110.00415.05
7.3.50.0040.01115.05
7.3.40.0060.00614.98
7.3.30.0070.00714.69
7.3.20.0030.01016.98
7.3.10.0090.00617.05
7.3.00.0100.00716.93
7.2.330.0080.00816.84
7.2.320.0060.01316.74
7.2.310.0090.00916.61
7.2.300.0140.00316.59
7.2.290.0090.00916.62
7.2.240.0080.00814.96
7.2.230.0030.01015.17
7.2.220.0040.00815.07
7.2.210.0030.01215.14
7.2.200.0030.01315.09
7.2.190.0030.00915.07
7.2.180.0080.00815.03
7.2.170.0030.01215.12
7.2.160.0100.00615.26
7.2.150.0120.00616.93
7.2.140.0090.00617.27
7.2.130.0070.01017.02
7.2.120.0090.00616.89
7.2.110.0040.00817.17
7.2.100.0000.01617.05
7.2.90.0000.01717.06
7.2.80.0150.00616.71
7.2.70.0000.01016.92
7.2.60.0090.00617.09
7.2.50.0060.00917.10
7.2.40.0040.00816.78
7.2.30.0070.00717.19
7.2.20.0070.01116.93
7.2.10.0100.00317.17
7.2.00.0080.00618.39
7.1.330.0060.00615.93
7.1.320.0030.01215.92
7.1.310.0000.01216.29
7.1.300.0080.00815.86
7.1.290.0090.00915.93
7.1.280.0000.01415.97
7.1.270.0030.01015.92
7.1.260.0090.00616.04
7.1.250.0070.00716.17
7.1.200.0080.00315.84
7.1.100.0000.01318.36
7.1.70.0000.00817.43
7.1.60.0040.01819.70
7.1.50.0100.01317.21
7.1.00.0000.08022.42
7.0.200.0030.00616.98
7.0.140.0070.06721.95
7.0.60.0070.08719.97
7.0.50.0030.06317.88
7.0.40.0030.04320.00
7.0.30.0330.04320.02
7.0.20.0330.06020.14
7.0.10.0130.04020.18
7.0.00.0030.08720.02
5.6.280.0030.07321.02
5.6.210.0070.07020.51
5.6.200.0000.09018.08
5.6.190.0100.04020.61
5.6.180.0200.04320.53
5.6.170.0200.04320.52
5.6.160.0030.08720.54
5.6.150.0200.06318.15
5.6.140.0070.08318.11
5.6.130.0130.05018.16
5.6.120.0100.08020.96
5.6.110.0070.07721.01
5.6.100.0130.08021.04
5.6.90.0030.04320.96
5.6.80.0070.06020.48
5.5.350.0230.06720.27
5.5.340.0100.05318.02
5.5.330.0170.07020.57
5.5.320.0370.08020.30
5.5.310.0370.06720.30
5.5.300.0070.07318.02
5.5.290.0070.05717.91
5.5.280.0100.04320.85
5.5.270.0030.09020.83
5.5.260.0130.03720.67
5.5.250.0130.07320.61
5.5.240.0030.05320.32
5.4.450.0370.04719.10
5.4.440.0270.04019.46
5.4.430.0330.04019.42
5.4.420.0630.05019.40
5.4.410.0400.03719.13
5.4.400.0700.04719.13
5.4.390.0400.03719.16
5.4.380.0130.05318.58
5.4.370.0100.05718.59
5.4.360.0170.04718.73
5.4.350.0070.08318.57
5.4.340.0100.06318.45
5.4.320.0050.03712.45
5.4.310.0050.04512.45
5.4.300.0080.03512.45
5.4.290.0040.04112.45
5.4.280.0060.03612.35
5.4.270.0070.03512.35
5.4.260.0070.03512.35
5.4.250.0050.03812.35
5.4.240.0050.04012.35
5.4.230.0060.03812.34
5.4.220.0110.03712.34
5.4.210.0040.03812.34
5.4.200.0080.03612.34
5.4.190.0030.03812.34
5.4.180.0090.03812.34
5.4.170.0090.03512.35
5.4.160.0060.03512.35
5.4.150.0040.03712.34
5.4.140.0080.03512.03
5.4.130.0040.03712.02
5.4.120.0040.03711.98
5.4.110.0060.03611.97
5.4.100.0050.03911.96
5.4.90.0090.04911.96
5.4.80.0070.04611.96
5.4.70.0030.03711.96
5.4.60.0080.03611.96
5.4.50.0040.04311.96
5.4.40.0060.03411.95
5.4.30.0070.03411.95
5.4.20.0050.03611.95
5.4.10.0060.03411.95
5.4.00.0050.03611.44
5.3.290.0040.04112.80
5.3.280.0060.04312.71
5.3.270.0060.03912.73
5.3.260.0040.04112.72
5.3.250.0070.03612.72
5.3.240.0080.03712.72
5.3.230.0060.03812.71
5.3.220.0070.03612.68
5.3.210.0060.04012.68
5.3.200.0080.04212.68
5.3.190.0090.03512.68
5.3.180.0040.04112.67
5.3.170.0060.03712.66
5.3.160.0090.03612.67
5.3.150.0060.03812.68
5.3.140.0100.03312.66
5.3.130.0110.03512.65
5.3.120.0050.04112.66
5.3.110.0050.04012.66
5.3.100.0050.03812.12
5.3.90.0080.03412.08
5.3.80.0060.04012.08
5.3.70.0070.03512.07
5.3.60.0040.05112.06
5.3.50.0050.03712.00
5.3.40.0080.03512.00
5.3.30.0050.03611.95
5.3.20.0090.03211.73
5.3.10.0090.03111.70
5.3.00.0040.03711.69
5.2.170.0030.0319.19
5.2.160.0050.0289.19
5.2.150.0060.0299.19
5.2.140.0060.0309.19
5.2.130.0060.0279.15
5.2.120.0060.0279.15
5.2.110.0050.0309.15
5.2.100.0060.0299.15
5.2.90.0090.0439.15
5.2.80.0180.0579.15
5.2.70.0140.0719.15
5.2.60.0100.0409.10
5.2.50.0080.0549.07
5.2.40.0110.0589.05
5.2.30.0080.0629.03
5.2.20.0080.0479.02
5.2.10.0130.0528.92
5.2.00.0120.0688.78
5.1.60.0230.0838.05
5.1.50.0180.0828.05
5.1.40.0140.0518.04
5.1.30.0170.0568.39
5.1.20.0110.0568.41
5.1.10.0180.0478.14
5.1.00.0090.0818.14
5.0.50.0100.0586.61
5.0.40.0070.0296.48
5.0.30.0070.0466.29
5.0.20.0060.0246.26
5.0.10.0050.0256.23
5.0.00.0030.0356.23
4.4.90.0040.0204.78
4.4.80.0020.0234.76
4.4.70.0020.0194.75
4.4.60.0050.0154.76
4.4.50.0050.0184.77
4.4.40.0080.0584.71
4.4.30.0060.0274.76
4.4.20.0040.0144.84
4.4.10.0120.0294.85
4.4.00.0030.0444.76
4.3.110.0030.0164.67
4.3.100.0060.0164.66
4.3.90.0050.0214.63
4.3.80.0080.0424.59
4.3.70.0030.0244.63
4.3.60.0050.0164.62
4.3.50.0060.0194.63
4.3.40.0040.0264.54
4.3.30.0090.0313.28
4.3.20.0030.0223.26
4.3.10.0020.0173.22
4.3.00.0130.01014.85

preferences:
53.57 ms | 401 KiB | 5 Q