3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = array( array('mopo_1' => 'honta', 'hinta' => 200, 'mopo_2' => 'jamaha', 'hinta' => 320), array('mopo_1' => 'tunturi', 'hinta' => 180, 'mopo_3' => 'susuki', 'hinta' => 310), array('mopo_1' => 'manki', 'hinta' => 240, 'mopo_2' => 'peevee', 'hinta' => 1209) ); $key = array_search('1', array_column($array, 'hinta')); echo 'mopot: '; print_r($key);

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.0140.00416.50
8.3.50.0110.01117.93
8.3.40.0120.00318.67
8.3.30.0070.00718.60
8.3.20.0030.00519.94
8.3.10.0080.00023.48
8.3.00.0080.00019.13
8.2.180.0120.00616.63
8.2.170.0100.01022.96
8.2.160.0090.00420.40
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0080.00019.24
8.2.120.0040.00426.35
8.2.110.0030.00620.46
8.2.100.0120.00317.80
8.2.90.0040.00419.26
8.2.80.0080.00017.97
8.2.70.0080.00017.63
8.2.60.0030.00617.80
8.2.50.0050.00318.07
8.2.40.0000.00719.45
8.2.30.0080.00020.65
8.2.20.0060.00317.60
8.2.10.0000.00717.93
8.2.00.0040.00418.02
8.1.280.0090.00625.92
8.1.270.0040.00423.83
8.1.260.0040.00428.09
8.1.250.0040.00428.09
8.1.240.0050.00322.14
8.1.230.0080.00417.79
8.1.220.0030.00617.74
8.1.210.0000.00818.77
8.1.200.0040.00417.22
8.1.190.0060.00317.10
8.1.180.0000.00818.10
8.1.170.0040.00418.52
8.1.160.0040.00421.94
8.1.150.0040.00418.86
8.1.140.0000.00819.37
8.1.130.0040.00417.66
8.1.120.0000.00717.46
8.1.110.0020.00517.36
8.1.100.0030.00517.38
8.1.90.0070.00017.27
8.1.80.0050.00317.35
8.1.70.0000.00717.22
8.1.60.0040.00417.39
8.1.50.0030.00517.36
8.1.40.0050.00317.37
8.1.30.0030.00517.46
8.1.20.0000.00717.49
8.1.10.0030.00617.41
8.1.00.0070.00017.48
8.0.300.0030.00618.77
8.0.290.0000.00716.63
8.0.280.0000.00718.43
8.0.270.0070.00017.25
8.0.260.0000.00917.21
8.0.250.0000.00616.91
8.0.240.0000.00816.81
8.0.230.0070.00016.86
8.0.220.0000.00716.78
8.0.210.0040.00416.82
8.0.200.0040.00416.89
8.0.190.0000.00716.92
8.0.180.0000.00716.79
8.0.170.0000.01016.76
8.0.160.0000.00716.78
8.0.150.0000.00716.80
8.0.140.0040.00416.74
8.0.130.0000.00613.28
8.0.120.0040.00416.79
8.0.110.0040.00416.77
8.0.100.0040.00416.92
8.0.90.0050.00216.71
8.0.80.0070.01016.86
8.0.70.0040.00416.70
8.0.60.0040.00416.63
8.0.50.0040.00416.88
8.0.30.0100.01217.01
8.0.20.0120.01017.40
8.0.10.0050.00316.91
8.0.00.0110.00716.62
7.4.330.0050.00016.73
7.4.320.0040.00416.45
7.4.300.0030.00316.42
7.4.290.0030.00316.41
7.4.280.0030.00616.46
7.4.270.0000.00716.55
7.4.260.0070.00016.36
7.4.250.0050.00216.40
7.4.240.0040.00316.49
7.4.230.0000.00716.50
7.4.220.0120.00816.63
7.4.210.0070.00716.51
7.4.200.0030.00316.63
7.4.160.0070.00716.52
7.4.150.0060.01217.40
7.4.140.0120.00817.86
7.4.130.0120.00616.48
7.4.120.0120.00616.52
7.4.110.0170.00016.27
7.4.100.0090.01316.42
7.4.90.0080.01616.34
7.4.80.0060.01219.39
7.4.70.0070.01416.40
7.4.60.0030.01216.33
7.4.50.0090.00616.39
7.4.40.0110.01216.41
7.4.30.0080.01116.63
7.4.00.0170.00014.82
7.3.330.0050.00013.00
7.3.320.0000.00512.96
7.3.310.0060.00316.12
7.3.300.0000.00716.23
7.3.290.0060.01116.13
7.3.280.0090.00616.14
7.3.270.0130.01017.40
7.3.260.0100.00716.45
7.3.250.0080.01016.29
7.3.240.0110.01016.36
7.3.230.0080.00816.39
7.3.210.0150.00616.18
7.3.200.0090.00616.36
7.3.190.0070.01116.18
7.3.180.0060.01016.20
7.3.170.0100.01116.35
7.3.160.0090.01216.33
7.3.10.0160.00816.06
7.3.00.0140.01116.53
7.2.330.0060.01116.23
7.2.320.0120.00616.45
7.2.310.0050.01416.27
7.2.300.0090.00916.31
7.2.290.0040.01816.60
7.2.130.0160.00316.59
7.2.120.1330.00516.61
7.2.110.0110.00516.46
7.2.100.0210.00616.62
7.2.90.0090.01316.52
7.2.80.0110.01016.39
7.2.70.0150.00716.60
7.2.60.0130.00616.72
7.2.50.0150.00716.57
7.2.40.0180.00916.62
7.2.30.0170.00616.30
7.2.20.0170.00816.69
7.2.10.0130.01316.59
7.2.00.0160.00617.56
7.1.250.0150.00915.63
7.1.240.0150.00315.68
7.1.230.0100.00715.84
7.1.220.0170.01115.82
7.1.210.0180.00315.81
7.1.200.0120.01015.74
7.1.190.0250.00615.70
7.1.180.0170.00615.76
7.1.170.0230.00915.82
7.1.160.0260.00015.66
7.1.150.0100.00715.56
7.1.140.0050.01115.76
7.1.130.0120.00415.74
7.1.120.0200.00315.48
7.1.110.0180.00915.78
7.1.100.0130.00616.77
7.1.90.0150.01215.82
7.1.80.0110.01115.67
7.1.70.0150.00416.41
7.1.60.0130.00817.63
7.1.50.0190.01016.33
7.1.40.0180.00415.85
7.1.30.0170.00715.78
7.1.20.0450.00615.84
7.1.10.0150.00615.83
7.1.00.0210.04319.06
7.0.320.0260.00315.26
7.0.310.0190.00315.52
7.0.300.0190.00315.39
7.0.290.0150.00415.21
7.0.280.0090.00915.18
7.0.270.0150.00515.49
7.0.260.0210.00315.27
7.0.250.0080.00515.19
7.0.240.0210.00915.40
7.0.230.0050.01215.37
7.0.220.0530.00715.61
7.0.210.0240.00015.29
7.0.200.0230.00514.87
7.0.190.0160.00315.32
7.0.180.0220.00415.37
7.0.170.0180.00715.09
7.0.160.0190.00615.39
7.0.150.0230.00315.08
7.0.140.0180.00715.09
7.0.130.0170.00615.28
7.0.120.0440.00015.26
7.0.110.0190.00415.21
7.0.100.0250.00315.26
7.0.90.0100.01015.44
7.0.80.0170.00815.44
7.0.70.0200.00815.44
7.0.60.0080.03017.50
7.0.50.0140.02716.64
7.0.40.0050.03316.67
7.0.30.0210.03316.66
7.0.20.0280.04216.87
7.0.10.0090.03016.68
7.0.00.0040.05016.71
5.6.380.0060.00914.50
5.6.370.0130.00014.41
5.6.360.0120.00614.42
5.6.350.0110.00714.62
5.6.340.0080.00814.50
5.6.330.0140.00314.42
5.6.320.0080.00813.90
5.6.310.0100.00514.48
5.6.300.0130.00714.12
5.6.290.0170.00314.23
5.6.280.0050.04017.60
5.6.270.0050.01014.47
5.6.260.0130.00314.31
5.6.250.0050.00814.22
5.6.240.0120.00614.34
5.6.230.0030.01114.26
5.6.220.0110.00514.28
5.6.210.0120.03917.48
5.6.200.0120.03716.33
5.6.190.0060.03617.59
5.6.180.0240.03917.33
5.6.170.0120.02417.34
5.6.160.0090.03517.30
5.6.150.0100.04316.10
5.6.140.0130.03216.31
5.6.130.0040.02716.27
5.6.120.0110.04117.70
5.6.110.0160.03517.68
5.6.100.0080.02317.49
5.6.90.0120.04217.72
5.6.80.0090.02817.26
5.6.70.0090.00714.24
5.6.60.0190.00014.21
5.6.50.0000.01614.13
5.6.40.0040.01214.34
5.6.30.0100.00614.34
5.6.20.0040.01114.46
5.6.10.0120.00613.94
5.6.00.0100.00714.22
5.5.380.0120.00611.11
5.5.370.0080.00310.92
5.5.360.0060.00311.13
5.5.350.1880.02315.75
5.5.340.0090.02014.54
5.5.330.0140.03715.71
5.5.320.0100.02715.66
5.5.310.0130.02215.59
5.5.300.0080.03714.43
5.5.290.0070.02214.54
5.5.280.0100.02015.92
5.5.270.0070.03315.88
5.5.260.0090.04215.91
5.5.250.0080.04015.70
5.5.240.0220.03215.61
5.5.230.0000.01110.91
5.5.220.0100.00010.94
5.5.210.0080.00810.91
5.5.200.0040.00711.04
5.5.190.0070.00710.91
5.5.180.0090.00610.91
5.5.170.0070.00914.03
5.5.160.0110.00411.10
5.5.150.0080.00411.09
5.5.140.0110.00010.91
5.5.130.0100.00311.08
5.5.120.0120.00011.16
5.5.110.0140.00010.98
5.5.100.0000.01110.96
5.5.90.0120.00410.91
5.5.80.0070.00710.91
5.5.70.0060.00610.91
5.5.60.0070.00210.98
5.5.50.0130.00310.91
5.5.40.0090.00311.00
5.5.30.0060.00310.98
5.5.20.0060.00810.91
5.5.10.0050.00810.91
5.5.00.0110.00411.04

preferences:
61.37 ms | 400 KiB | 5 Q