3v4l.org

run code in 300+ PHP versions simultaneously
<?php $where = array('bla = :bla_kip2' => 12); $expression = null; foreach($where as $cond => $term) { if(preg_match('/(:\S+)/', $cond, $matches)) { $expression = $matches[1]; } } 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.0100.01016.60
8.3.50.0060.00922.11
8.3.40.0110.00418.82
8.3.30.0040.01119.06
8.3.20.0040.00420.34
8.3.10.0040.00423.48
8.3.00.0060.00319.68
8.2.180.0150.00616.50
8.2.170.0100.01022.96
8.2.160.0070.00720.39
8.2.150.0050.00324.18
8.2.140.0040.01124.66
8.2.130.0080.00026.16
8.2.120.0070.00021.02
8.2.110.0030.00621.13
8.2.100.0120.00018.03
8.2.90.0090.00019.21
8.2.80.0050.00317.97
8.2.70.0150.00017.48
8.2.60.0040.00417.92
8.2.50.0030.00618.07
8.2.40.0000.00918.34
8.2.30.0000.01018.31
8.2.20.0090.00017.77
8.2.10.0040.00419.99
8.2.00.0030.00517.90
8.1.280.0070.00725.92
8.1.270.0060.00323.88
8.1.260.0050.00326.35
8.1.250.0040.00428.09
8.1.240.0030.00622.20
8.1.230.0080.00418.99
8.1.220.0050.00317.74
8.1.210.0000.00918.77
8.1.200.0030.00617.35
8.1.190.0000.00917.35
8.1.180.0000.00818.10
8.1.170.0040.00418.81
8.1.160.0070.00022.03
8.1.150.0040.00418.89
8.1.140.0000.00717.56
8.1.130.0040.00417.84
8.1.120.0040.00417.63
8.1.110.0080.00017.64
8.1.100.0040.00417.65
8.1.90.0030.00317.64
8.1.80.0000.00817.60
8.1.70.0030.00317.56
8.1.60.0060.00617.76
8.1.50.0050.00217.57
8.1.40.0040.00417.67
8.1.30.0000.00917.76
8.1.20.0070.00017.65
8.1.10.0040.00417.75
8.1.00.0050.00317.63
8.0.300.0080.00018.77
8.0.290.0070.00016.75
8.0.280.0030.00318.46
8.0.270.0070.00017.22
8.0.260.0030.00317.19
8.0.250.0020.00517.07
8.0.240.0000.00717.00
8.0.230.0060.00316.99
8.0.220.0030.00616.95
8.0.210.0030.00317.02
8.0.200.0000.00717.05
8.0.190.0000.00717.10
8.0.180.0000.00717.05
8.0.170.0070.00017.08
8.0.160.0080.00017.00
8.0.150.0040.00417.02
8.0.140.0040.00417.01
8.0.130.0000.00513.46
8.0.120.0000.00816.95
8.0.110.0040.00416.96
8.0.100.0000.00717.07
8.0.90.0040.00416.92
8.0.80.0090.00617.00
8.0.70.0000.00716.90
8.0.60.0000.00716.88
8.0.50.0030.00617.02
8.0.30.0140.00717.37
8.0.20.0120.00917.40
8.0.10.0020.00517.20
8.0.00.0130.00817.08
7.4.330.0050.00015.00
7.4.320.0060.00016.72
7.4.300.0000.00616.71
7.4.290.0070.00016.64
7.4.280.0040.00416.80
7.4.270.0030.00516.72
7.4.260.0060.00316.73
7.4.250.0070.00016.67
7.4.240.0040.00416.74
7.4.230.0030.00316.74
7.4.220.0070.01016.89
7.4.210.0090.00916.77
7.4.200.0050.00216.66
7.4.160.0030.01716.55
7.4.150.0030.01417.40
7.4.140.0110.01117.86
7.4.130.0090.00816.70
7.4.120.0090.00916.69
7.4.110.0170.00016.73
7.4.100.0090.00916.48
7.4.90.0050.01416.80
7.4.80.0110.00719.39
7.4.70.0080.00816.82
7.4.60.0130.00316.63
7.4.50.0000.00816.64
7.4.40.0120.00316.60
7.4.30.0080.00816.84
7.4.00.0000.01815.35
7.3.330.0030.00313.30
7.3.320.0020.00213.20
7.3.310.0030.00316.41
7.3.300.0030.00316.45
7.3.290.0130.00316.40
7.3.280.0100.00716.43
7.3.270.0150.00617.40
7.3.260.0070.01816.65
7.3.250.0100.00916.38
7.3.240.0090.00916.71
7.3.230.0120.00616.42
7.3.210.0090.00816.51
7.3.200.0150.00319.39
7.3.190.0100.00716.45
7.3.180.0090.00616.49
7.3.170.0120.00916.60
7.3.160.0100.00716.44
7.3.120.0070.00315.10
7.3.10.0080.00416.77
7.3.00.0040.01116.81
7.2.330.0070.01116.70
7.2.320.0130.00616.91
7.2.310.0030.01416.99
7.2.300.0090.00916.74
7.2.290.0140.00616.94
7.2.130.0120.00617.32
7.2.120.0140.00416.98
7.2.110.0080.00416.91
7.2.100.0100.00717.20
7.2.90.0000.00917.32
7.2.80.0110.00417.09
7.2.70.0090.00317.19
7.2.60.0090.00917.10
7.2.50.0150.00617.15
7.2.40.0070.01017.07
7.2.30.0120.00616.80
7.2.20.0060.00917.07
7.2.10.0040.01117.07
7.2.00.0070.00818.35
7.1.250.0130.00315.90
7.1.240.0100.00316.11
7.1.230.0140.00316.01
7.1.220.0030.00916.04
7.1.210.0100.00316.12
7.1.200.0070.01016.12
7.1.190.0000.00815.96
7.1.180.0080.00016.07
7.1.170.0090.00516.05
7.1.160.0030.00616.13
7.1.150.0080.00616.06
7.1.140.0030.01015.79
7.1.130.0080.00315.75
7.1.120.0000.01115.95
7.1.110.0120.00616.17
7.1.100.0040.01017.25
7.1.90.0110.00415.83
7.1.80.0040.00815.98
7.1.70.0050.00616.81
7.1.60.0100.00917.90
7.1.50.0080.01016.46
7.1.40.0000.01516.14
7.1.30.0060.00315.95
7.1.20.0070.00315.71
7.1.10.0030.00915.99
7.1.00.0080.04019.28
7.0.330.0110.01115.42
7.0.320.0120.00015.38
7.0.310.0060.00315.53
7.0.300.0050.00515.48
7.0.290.0110.00015.44
7.0.280.0030.00715.41
7.0.270.0000.01215.41
7.0.260.0100.00315.59
7.0.250.0070.00415.55
7.0.240.0100.00315.74
7.0.230.0150.00315.25
7.0.220.0100.00615.46
7.0.210.0100.00315.45
7.0.200.0070.00516.08
7.0.190.0070.00715.58
7.0.180.0000.00915.46
7.0.170.0000.00915.62
7.0.160.0080.00015.31
7.0.150.0080.00015.50
7.0.140.0020.04418.78
7.0.130.0060.00615.36
7.0.120.0060.00315.22
7.0.110.0110.00015.74
7.0.100.0140.00315.48
7.0.90.0050.00815.28
7.0.80.0060.00615.66
7.0.70.0060.00615.54
7.0.60.0060.04417.55
7.0.50.0040.02316.61
7.0.40.0050.03116.68
7.0.30.0250.03816.88
7.0.20.0220.03816.89
7.0.10.0030.02916.89
7.0.00.0130.02516.86
5.6.380.0060.00614.14
5.6.370.0040.01114.30
5.6.360.0030.01014.32
5.6.350.0070.00314.40
5.6.340.0030.00614.56
5.6.330.0030.01014.08
5.6.320.0120.00013.95
5.6.310.0100.00314.02
5.6.300.0050.00314.75
5.6.290.0080.00614.87
5.6.280.0080.03717.71
5.6.270.0100.00314.65
5.6.260.0030.01314.53
5.6.250.0060.00614.35
5.6.240.0060.00614.35
5.6.230.0000.01514.03
5.6.220.0110.00314.18
5.6.210.0050.02217.50
5.6.200.0040.03416.12
5.6.190.0050.04417.34
5.6.180.0190.04317.35
5.6.170.0200.02917.51
5.6.160.0050.04717.40
5.6.150.0080.03716.25
5.6.140.0050.03116.21
5.6.130.0050.04216.33
5.6.120.0150.03317.65
5.6.110.0050.04117.57
5.6.100.0060.03517.61
5.6.90.0070.04717.51
5.6.80.0100.02017.23
5.6.70.0030.00713.93
5.6.60.0030.00614.62
5.6.50.0030.00614.30
5.6.40.0000.00914.07
5.6.30.0060.00314.18
5.6.20.0060.00614.34
5.6.10.0060.01014.27
5.6.00.0070.00714.35
5.5.380.0000.00810.82
5.5.370.0100.00311.20
5.5.360.0070.00011.28
5.5.350.0030.04315.86
5.5.340.0110.04014.49
5.5.330.0000.02515.55
5.5.320.0140.04415.52
5.5.310.0210.03015.79
5.5.300.0030.03014.37
5.5.290.0020.04314.42
5.5.280.0090.02416.08
5.5.270.0060.02116.09
5.5.260.0110.03115.93
5.5.250.0070.04015.71
5.5.240.1980.02215.56
5.5.230.0030.00910.79
5.5.220.0070.00411.09
5.5.210.0030.01011.05
5.5.200.0090.00310.95
5.5.190.0030.00710.74
5.5.180.0070.00311.11
5.5.170.0120.00010.86
5.5.160.0040.00410.94
5.5.150.0000.00911.17
5.5.140.0030.00811.13
5.5.130.0100.00310.95
5.5.120.0040.00810.71
5.5.110.0030.00711.18
5.5.100.0090.00410.79
5.5.90.0000.01310.89
5.5.80.0050.00910.95
5.5.70.0000.00911.00
5.5.60.0030.00910.86
5.5.50.0040.00711.04
5.5.40.0000.00910.78
5.5.30.0070.00710.98
5.5.20.0110.00011.06
5.5.10.0000.00911.03
5.5.00.0050.00510.93
5.4.450.0310.02115.28
5.4.440.0320.02615.05
5.4.430.0250.02715.14
5.4.420.0300.02215.13
5.4.410.0190.02414.96
5.4.400.0350.01615.02
5.4.390.0250.03115.04
5.4.380.0170.02714.72
5.4.370.0130.02714.91
5.4.360.0080.03114.80
5.4.350.0060.03014.83
5.4.340.0080.03014.90
5.4.330.0100.00010.79
5.4.320.0070.02111.74
5.4.310.0060.02211.75
5.4.300.0060.02311.68
5.4.290.0070.02111.76
5.4.280.0050.02011.61
5.4.270.0080.02611.62
5.4.260.0050.03211.65
5.4.250.0110.02711.59
5.4.240.0070.02111.67
5.4.230.0050.02311.68
5.4.220.0070.02311.62
5.4.210.0080.02311.57
5.4.200.0080.02511.65
5.4.190.0060.02611.75
5.4.180.0060.02911.72
5.4.170.0060.02311.69
5.4.160.0050.02311.60
5.4.150.0050.02111.68
5.4.140.0050.02111.45
5.4.130.0060.01911.46
5.4.120.0070.02011.38
5.4.110.0070.02011.49
5.4.100.0020.02111.53
5.4.90.0040.02111.51
5.4.80.0080.02011.54
5.4.70.0050.02211.55
5.4.60.0070.02211.53
5.4.50.0050.03311.49
5.4.40.0080.02711.47
5.4.30.0080.03011.58
5.4.20.0090.02711.34
5.4.10.0050.02711.41
5.4.00.0080.02011.23
5.3.290.0080.02011.75
5.3.280.0050.02211.71
5.3.270.0080.01911.71
5.3.260.0050.02311.71
5.3.250.0070.01911.71
5.3.240.0080.02011.71
5.3.230.0070.02311.71
5.3.220.0060.02111.70
5.3.210.0050.02411.70
5.3.200.0050.02111.69
5.3.190.0050.02311.69
5.3.180.0040.02511.69
5.3.170.0040.02611.69
5.3.160.0050.02411.69
5.3.150.0070.02111.69
5.3.140.0040.02611.68
5.3.130.0100.01911.68
5.3.120.0020.02811.68
5.3.110.0080.02111.68
5.3.100.0040.02311.41
5.3.90.0060.02211.39
5.3.80.0050.02311.39
5.3.70.0070.02011.39
5.3.60.0020.02411.39
5.3.50.0040.02311.35
5.3.40.0100.01611.35
5.3.30.0020.02111.33
5.3.20.0080.01711.22
5.3.10.0060.01911.21
5.3.00.0070.02011.20
5.2.170.0040.0209.95
5.2.160.0060.0169.95
5.2.150.0050.0179.95
5.2.140.0040.0199.95
5.2.130.0060.0169.93
5.2.120.0040.0169.93
5.2.110.0070.0139.93
5.2.100.0050.0169.93
5.2.90.0020.0199.93
5.2.80.0040.0199.93
5.2.70.0050.0169.93
5.2.60.0050.0169.90
5.2.50.0070.0179.89
5.2.40.0020.0209.88
5.2.30.0060.0179.87
5.2.20.0010.0209.86
5.2.10.0070.0199.81
5.2.00.0050.0179.74
5.1.60.0060.0179.38
5.1.50.0080.0199.38
5.1.40.0050.0169.37
5.1.30.0030.0189.55
5.1.20.0020.0199.56
5.1.10.0040.0169.42
5.1.00.0040.0169.42
5.0.50.0020.0148.66
5.0.40.0020.0148.59
5.0.30.0060.0168.50
5.0.20.0020.0138.48
5.0.10.0030.0138.47
5.0.00.0040.0178.47
4.4.90.0020.0117.74
4.4.80.0020.0117.73
4.4.70.0040.0097.73
4.4.60.0040.0107.73
4.4.50.0020.0127.74
4.4.40.0050.0167.71
4.4.30.0020.0107.73
4.4.20.0040.0097.78
4.4.10.0020.0117.78
4.4.00.0040.0137.73
4.3.110.0030.0117.69
4.3.100.0000.0127.69
4.3.90.0010.0127.67
4.3.80.0020.0167.64
4.3.70.0020.0117.67
4.3.60.0040.0097.67
4.3.50.0020.0147.67
4.3.40.0030.0157.62
4.3.30.0030.0107.00
4.3.20.0030.0116.98
4.3.10.0020.0136.96
4.3.00.0030.00712.78

preferences:
53.97 ms | 401 KiB | 5 Q