3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hire = array( 'hiring' => array( (int) 1 => '10', (int) 2 => '5', (int) 3 => '8', (int) 4 => '15' ) ); $integerIDs = array_map('intval', implode(',', $hire)); $hire['hiring'] = implode(',',$hire['hiring']); print_r($hire['hiring']); echo $integerIDs;

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.0040.01116.75
8.3.50.0090.01321.97
8.3.40.0150.00019.02
8.3.30.0100.00319.04
8.3.20.0070.00020.16
8.3.10.0080.00023.41
8.3.00.0040.00421.01
8.2.180.0040.01217.00
8.2.170.0030.01718.89
8.2.160.0170.00322.96
8.2.150.0040.00424.18
8.2.140.0090.00024.66
8.2.130.0070.00726.16
8.2.120.0050.00222.09
8.2.110.0100.00022.20
8.2.100.0080.00317.84
8.2.90.0040.00419.22
8.2.80.0050.00317.97
8.2.70.0090.00317.25
8.2.60.0100.00018.05
8.2.50.0080.00018.07
8.2.40.0000.00818.21
8.2.30.0040.00418.15
8.2.20.0080.00017.61
8.2.10.0070.00017.75
8.2.00.0030.00517.66
8.1.280.0270.00325.92
8.1.270.0080.00023.87
8.1.260.0050.00326.35
8.1.250.0080.00028.09
8.1.240.0090.00023.72
8.1.230.0070.00319.01
8.1.220.0050.00317.74
8.1.210.0000.00818.77
8.1.200.0030.00617.35
8.1.190.0080.00017.39
8.1.180.0040.00418.10
8.1.170.0040.00418.57
8.1.160.0000.00721.98
8.1.150.0040.00418.55
8.1.140.0030.00617.39
8.1.130.0000.00717.79
8.1.120.0040.00417.40
8.1.110.0030.00517.45
8.1.100.0000.00717.33
8.1.90.0040.00417.41
8.1.80.0030.00317.29
8.1.70.0050.00317.34
8.1.60.0060.00317.55
8.1.50.0050.00317.43
8.1.40.0040.00417.41
8.1.30.0080.00017.60
8.1.20.0040.00417.64
8.1.10.0040.00417.53
8.1.00.0000.00717.38
8.0.300.0070.00018.77
8.0.290.0030.00317.05
8.0.280.0040.00418.47
8.0.270.0000.00717.32
8.0.260.0000.00616.74
8.0.250.0030.00316.96
8.0.240.0000.00716.87
8.0.230.0040.00416.85
8.0.220.0070.00016.90
8.0.210.0030.00316.92
8.0.200.0060.00016.94
8.0.190.0030.00616.84
8.0.180.0030.00516.82
8.0.170.0030.00616.83
8.0.160.0070.00016.91
8.0.150.0070.00016.87
8.0.140.0000.00816.88
8.0.130.0060.00013.27
8.0.120.0030.00516.91
8.0.110.0040.00416.82
8.0.100.0040.00416.84
8.0.90.0040.00416.97
8.0.80.0000.01616.81
8.0.70.0000.00716.76
8.0.60.0000.00816.80
8.0.50.0040.00416.93
8.0.30.0100.01017.04
8.0.20.0060.01317.40
8.0.10.0000.00816.90
8.0.00.0110.00816.65
7.4.330.0050.00015.00
7.4.320.0030.00316.55
7.4.300.0030.00316.54
7.4.290.0030.00316.52
7.4.280.0040.00416.33
7.4.270.0080.00016.59
7.4.260.0000.00716.43
7.4.250.0040.00416.39
7.4.240.0030.00316.51
7.4.230.0030.00316.44
7.4.220.0060.01216.55
7.4.210.0070.00816.50
7.4.200.0040.00416.41
7.4.190.0070.00016.59
7.4.160.0070.01016.43
7.4.150.0090.00917.40
7.4.140.0050.01217.86
7.4.130.0120.00516.44
7.4.120.0060.01116.58
7.4.110.0130.00316.46
7.4.100.0130.00616.51
7.4.90.0060.00916.49
7.4.80.0070.01016.59
7.4.70.0040.01416.33
7.4.60.0100.00616.29
7.4.50.0040.00416.40
7.4.40.0060.01122.77
7.4.30.0120.00316.46
7.4.00.0060.00915.00
7.3.330.0000.00613.30
7.3.320.0030.00313.30
7.3.310.0000.00716.35
7.3.300.0000.00716.23
7.3.290.0130.00716.32
7.3.280.0120.00516.41
7.3.270.0030.01617.40
7.3.260.0030.01316.58
7.3.250.0140.00416.55
7.3.240.0070.01316.45
7.3.230.0130.00316.39
7.3.210.0070.01016.46
7.3.200.0110.01119.39
7.3.190.0120.00916.34
7.3.180.0060.00916.35
7.3.170.0120.00516.50
7.3.160.0000.01616.26
7.3.120.0030.01314.87
7.3.110.0030.01414.96
7.3.100.0030.01314.64
7.3.90.0040.00714.95
7.3.80.0090.00314.56
7.3.70.0080.00314.89
7.3.60.0070.00714.84
7.3.50.0070.01014.77
7.3.40.0060.00914.74
7.3.30.0030.01314.93
7.3.20.0060.00616.79
7.3.10.0070.00716.94
7.3.00.0050.01016.64
7.2.330.0060.01316.72
7.2.320.0030.01316.78
7.2.310.0090.00916.59
7.2.300.0060.01216.51
7.2.290.0060.00916.46
7.2.250.0130.00615.31
7.2.240.0030.01615.16
7.2.230.0000.01615.07
7.2.220.0040.00714.82
7.2.210.0000.01214.73
7.2.200.0060.00615.07
7.2.190.0030.01315.24
7.2.180.0090.00915.22
7.2.170.0070.00814.94
7.2.130.0070.01016.63
7.2.120.0030.01216.58
7.2.110.0070.00516.69
7.2.100.0020.00916.79
7.2.90.0080.00616.84
7.2.80.0030.01316.79
7.2.70.0030.01016.99
7.2.60.0030.01016.99
7.2.50.0080.00617.12
7.2.40.0020.01316.97
7.2.30.0070.00916.86
7.2.20.0010.01216.74
7.2.10.0080.00816.99
7.2.00.0070.00716.99
7.1.330.0040.01115.79
7.1.320.0030.01015.57
7.1.310.0100.00315.81
7.1.300.0060.00915.82
7.1.290.0100.00715.97
7.1.280.0070.00715.82
7.1.270.0030.01015.69
7.1.260.0100.00315.82
7.1.250.0000.00815.77
7.1.240.0020.01315.47
7.1.230.0050.00915.82
7.1.220.0070.00715.67
7.1.210.0050.01015.78
7.1.200.0030.00815.81
7.1.190.0060.00915.63
7.1.180.0030.00715.77
7.1.170.0050.00715.58
7.1.160.0050.00615.70
7.1.150.0080.00715.81
7.1.140.0050.00615.62
7.1.130.0070.00715.75
7.1.120.0030.00715.72
7.1.110.0050.00915.69
7.1.100.0090.00515.91
7.1.90.0090.00515.94
7.1.80.0020.01315.80
7.1.70.0050.00716.17
7.1.60.0090.00816.94
7.1.50.0080.00916.23
7.1.40.0050.00815.86
7.1.30.0070.00515.80
7.1.20.0030.01015.77
7.1.10.0030.00915.89
7.1.00.0030.03117.89
7.0.330.0000.00915.57
7.0.320.0050.00415.41
7.0.310.0060.00515.44
7.0.300.0030.01015.45
7.0.290.0060.00515.16
7.0.280.0060.00715.40
7.0.270.0100.00315.27
7.0.260.0030.01015.29
7.0.250.0020.00815.47
7.0.240.0090.00515.39
7.0.230.0050.00815.46
7.0.220.0050.00615.51
7.0.210.0100.00115.35
7.0.200.0090.00315.90
7.0.190.0040.00915.50
7.0.180.0000.01115.36
7.0.170.0080.00515.37
7.0.160.0030.00815.49
7.0.150.0080.00415.25
7.0.140.0070.02717.55
7.0.130.0060.00415.31
7.0.120.0020.00915.54
7.0.110.0050.00915.32
7.0.100.0040.00815.30
7.0.90.0030.00615.24
7.0.80.0060.00815.31
7.0.70.0040.01015.46
7.0.60.0100.02816.85
7.0.50.0090.03016.21
7.0.40.0050.02515.49
7.0.30.0160.02115.71
7.0.20.0130.02715.60
7.0.10.0140.02815.66
7.0.00.0080.02115.81
5.6.380.0050.00614.48
5.6.370.0050.00514.61
5.6.360.0060.00514.35
5.6.350.0090.00314.44
5.6.340.0040.00914.35
5.6.330.0070.00714.66
5.6.320.0060.00914.65
5.6.310.0050.00714.04
5.6.300.0050.00914.47
5.6.290.0030.00614.19
5.6.280.0000.03316.57
5.6.270.0030.00814.37
5.6.260.0040.00814.46
5.6.250.0090.00314.29
5.6.240.0030.00814.29
5.6.230.0080.00814.47
5.6.220.0060.00614.44
5.6.210.0070.03316.40
5.6.200.0040.01815.64
5.6.190.0030.03616.48
5.6.180.0150.02416.36
5.6.170.0150.02916.62
5.6.160.0050.01916.56
5.6.150.0080.01615.72
5.6.140.0070.02315.69
5.6.130.0100.02915.60
5.6.120.0080.03116.67
5.6.110.0080.01816.48
5.6.100.0040.03616.44
5.6.90.0050.02916.59
5.6.80.0070.02416.26
5.6.70.0110.02016.21
5.6.60.0110.00514.49
5.6.50.0080.00514.45
5.6.40.0080.00414.22
5.6.30.0050.01014.14
5.6.20.0100.00314.17
5.6.10.0030.00914.26
5.6.00.0030.01214.22
5.5.380.0020.00511.53
5.5.370.0030.00811.39
5.5.360.0030.00611.46
5.5.350.0030.03214.33
5.5.340.0050.03213.64
5.5.330.0040.01814.33
5.5.320.0040.03214.41
5.5.310.0130.02314.34
5.5.300.0050.02413.55
5.5.290.0080.02813.56
5.5.280.0070.01614.61
5.5.270.0050.01614.52
5.5.260.0060.02614.55
5.5.250.0100.02714.50
5.5.240.0020.01714.26
5.5.230.0030.00811.36
5.5.220.0070.00511.40
5.5.210.0030.00711.37
5.5.200.0050.00511.49
5.5.190.0020.00411.34
5.5.180.0050.00511.38
5.5.170.0050.00912.88
5.5.160.0030.00411.42
5.5.150.0030.00611.48
5.5.140.0060.00611.44
5.5.130.0020.00411.39
5.5.120.0060.00511.45
5.5.110.0020.01011.34
5.5.100.0040.00611.45
5.5.90.0030.00711.45
5.5.80.0090.00211.46
5.5.70.0060.00311.34
5.5.60.0030.00811.34
5.5.50.0050.00811.41
5.5.40.0030.00811.37
5.5.30.0080.00311.34
5.5.20.0080.00311.34
5.5.10.0070.00511.42
5.5.00.0040.00611.34
5.4.450.0390.02013.97
5.4.440.0350.02214.00
5.4.430.0310.02614.11
5.4.420.0370.02614.03
5.4.410.0320.02414.04
5.4.400.0230.02613.96
5.4.390.0350.01913.94
5.4.380.0120.01713.78
5.4.370.0110.01713.79
5.4.360.0080.02013.76
5.4.350.0130.01913.71
5.4.340.0150.01313.80
5.4.330.0020.00711.38
5.4.320.0040.01711.71
5.4.310.0070.01511.73
5.4.300.0050.01811.71
5.4.290.0050.01711.74
5.4.280.0040.01911.71
5.4.270.0050.01611.70
5.4.260.0080.01611.71
5.4.250.0070.01511.69
5.4.240.0040.01611.70
5.4.230.0070.01411.66
5.4.220.0060.01411.66
5.4.210.0080.01111.71
5.4.200.0050.01611.66
5.4.190.0060.01811.68
5.4.180.0070.01611.66
5.4.170.0040.01611.67
5.4.160.0080.01311.74
5.4.150.0050.01611.66
5.4.140.0040.01811.63
5.4.130.0030.01811.56
5.4.120.0050.01611.54
5.4.110.0050.01511.61
5.4.100.0020.01811.56
5.4.90.0050.01511.56
5.4.80.0020.02111.54
5.4.70.0080.01411.58
5.4.60.0040.01411.54
5.4.50.0060.01611.56
5.4.40.0080.01611.56
5.4.30.0040.01611.56
5.4.20.0070.01511.53
5.4.10.0040.01811.60
5.4.00.0040.01811.40
5.3.290.0050.02011.83
5.3.280.0040.01711.79
5.3.270.0020.02011.80
5.3.260.0040.02311.80
5.3.250.0060.01511.80
5.3.240.0030.01711.80
5.3.230.0080.01511.79
5.3.220.0030.01711.79
5.3.210.0050.01911.79
5.3.200.0060.01411.79
5.3.190.0050.01811.78
5.3.180.0070.01511.78
5.3.170.0060.01511.78
5.3.160.0050.01511.78
5.3.150.0040.01511.78
5.3.140.0030.01711.78
5.3.130.0050.01711.78
5.3.120.0020.01911.78
5.3.110.0030.02111.78
5.3.100.0030.01811.60
5.3.90.0040.01611.59
5.3.80.0030.01811.58
5.3.70.0050.01611.58
5.3.60.0090.01511.58
5.3.50.0080.01411.56
5.3.40.0030.01711.56
5.3.30.0060.01411.54
5.3.20.0040.01711.46
5.3.10.0020.01811.44
5.3.00.0040.01511.44
5.2.170.0020.01710.61
5.2.160.0030.01410.61
5.2.150.0050.01510.61
5.2.140.0060.01110.61
5.2.130.0050.01410.59
5.2.120.0030.01310.59
5.2.110.0040.01110.59
5.2.100.0060.01210.59
5.2.90.0030.01310.59
5.2.80.0060.01210.59
5.2.70.0050.01310.59
5.2.60.0070.01110.58
5.2.50.0050.01210.57
5.2.40.0050.01110.56
5.2.30.0040.01610.55
5.2.20.0050.01510.55
5.2.10.0060.01410.52
5.2.00.0050.01210.47
5.1.60.0030.01110.24
5.1.50.0040.01110.24
5.1.40.0030.01310.23
5.1.30.0030.01210.34
5.1.20.0040.01110.36
5.1.10.0040.01410.26
5.1.00.0060.00810.26
5.0.50.0030.0099.75
5.0.40.0020.0129.71
5.0.30.0040.0129.64
5.0.20.0050.0119.63
5.0.10.0010.0149.63
5.0.00.0030.0129.63
4.4.90.0040.0079.15
4.4.80.0010.0109.14
4.4.70.0030.0089.14
4.4.60.0030.0099.14
4.4.50.0020.0109.15
4.4.40.0030.0119.13
4.4.30.0040.0069.14
4.4.20.0010.0079.17
4.4.10.0020.0099.17
4.4.00.0040.0109.15
4.3.110.0020.0089.12
4.3.100.0030.0069.11
4.3.90.0020.0089.10
4.3.80.0030.0109.09
4.3.70.0030.0079.10
4.3.60.0040.0059.10
4.3.50.0040.0089.10
4.3.40.0030.0109.07
4.3.30.0020.0108.65
4.3.20.0030.0078.64
4.3.10.0010.0108.63
4.3.00.0010.00811.94

preferences:
42.15 ms | 401 KiB | 5 Q