3v4l.org

run code in 300+ PHP versions simultaneously
<?php if( isset( $this->_customAttributes ) ) { $intCount = count( $this->getCustomAttributes() ) - 1; $intI = 0; while( $intI <= $intCount ) { $strReturn .= ' '.$this->getCustomAttributes()[$intI]["Attribute"].'="'.$this->getCustomAttributes()[$intI]["Value"].'"'; $intI++; } }

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.70.0040.01116.74
8.3.60.0070.00716.38
8.3.50.0170.00218.27
8.3.40.0040.01118.82
8.3.30.0060.00918.71
8.3.20.0040.00420.16
8.3.10.0050.00321.95
8.3.00.0000.00723.66
8.2.190.0130.00716.73
8.2.180.0120.00316.63
8.2.170.0140.00722.96
8.2.160.0110.00420.35
8.2.150.0080.00024.18
8.2.140.0000.00824.66
8.2.130.0000.00726.16
8.2.120.0000.00819.52
8.2.110.0080.00320.39
8.2.100.0110.00017.76
8.2.90.0040.00417.75
8.2.80.0040.00418.61
8.2.70.0050.00317.63
8.2.60.0040.00418.03
8.2.50.0000.00818.10
8.2.40.0000.00919.21
8.2.30.0000.00719.16
8.2.20.0000.00717.99
8.2.10.0020.00518.05
8.2.00.0050.00317.99
8.1.280.0160.00625.92
8.1.270.0070.00024.66
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0090.00019.14
8.1.230.0050.00620.97
8.1.220.0000.00917.74
8.1.210.0000.00818.77
8.1.200.0040.00417.23
8.1.190.0040.00417.22
8.1.180.0000.00718.10
8.1.170.0080.00018.71
8.1.160.0050.00218.67
8.1.150.0030.00319.96
8.1.140.0040.00417.47
8.1.130.0000.00719.00
8.1.120.0030.00417.31
8.1.110.0000.00817.36
8.1.100.0060.00317.37
8.1.90.0030.00617.35
8.1.80.0040.00417.37
8.1.70.0040.00417.40
8.1.60.0030.00617.46
8.1.50.0000.00817.41
8.1.40.0040.00417.51
8.1.30.0040.00417.48
8.1.20.0030.00917.59
8.1.10.0000.00717.56
8.1.00.0000.00817.33
8.0.300.0080.00018.77
8.0.290.0070.00016.75
8.0.280.0020.00518.39
8.0.270.0070.00017.07
8.0.260.0000.00718.49
8.0.250.0030.00316.87
8.0.240.0080.00016.93
8.0.230.0000.00716.95
8.0.220.0000.00716.79
8.0.210.0040.00416.86
8.0.200.0070.00016.93
8.0.190.0060.00316.95
8.0.180.0070.00016.89
8.0.170.0060.00316.85
8.0.160.0040.00416.95
8.0.150.0060.00316.75
8.0.140.0070.00016.82
8.0.130.0030.00313.29
8.0.120.0000.00716.85
8.0.110.0000.00816.73
8.0.100.0040.00416.77
8.0.90.0000.00716.86
8.0.80.0060.00916.88
8.0.70.0020.00516.74
8.0.60.0040.00416.88
8.0.50.0050.00316.69
8.0.30.0100.00717.09
8.0.20.0120.00917.40
8.0.10.0030.00316.95
8.0.00.0070.01116.85
7.4.330.0020.00215.55
7.4.320.0030.00316.34
7.4.300.0070.00016.58
7.4.290.0030.00316.29
7.4.280.0030.00516.57
7.4.270.0070.00316.52
7.4.260.0030.00316.45
7.4.250.0040.00416.34
7.4.240.0040.00416.55
7.4.230.0000.00716.65
7.4.220.0090.00916.56
7.4.210.0040.01016.48
7.4.200.0030.00316.25
7.4.160.0060.00916.50
7.4.150.0070.01017.40
7.4.140.0130.00617.86
7.4.130.0070.01116.45
7.4.120.0120.00716.37
7.4.110.0070.01116.29
7.4.100.0100.00716.56
7.4.90.0130.01016.48
7.4.80.0090.01219.39
7.4.70.0040.01316.55
7.4.60.0100.00616.50
7.4.50.0030.01216.51
7.4.40.0120.00616.46
7.4.30.0060.01216.41
7.4.00.0080.00914.97
7.3.330.0060.00013.13
7.3.320.0020.00212.99
7.3.310.0000.00716.16
7.3.300.0000.00716.17
7.3.290.0150.00616.30
7.3.280.0090.00716.25
7.3.270.0100.00617.40
7.3.260.0100.00716.41
7.3.250.0100.00916.37
7.3.240.0100.00616.32
7.3.230.0130.00916.27
7.3.210.0170.00016.57
7.3.200.0090.01216.54
7.3.190.0090.00616.50
7.3.180.0130.00716.55
7.3.170.0090.00616.41
7.3.160.0100.01016.26
7.3.120.0110.00614.51
7.3.110.0060.00914.66
7.3.100.0040.01114.97
7.3.90.0000.01214.68
7.3.80.0120.00614.68
7.3.70.0000.01614.75
7.3.60.0060.00914.87
7.3.50.0030.01414.83
7.3.40.0000.00914.79
7.3.30.0070.01014.82
7.3.20.0060.00916.59
7.3.10.0090.00616.57
7.3.00.0130.00016.66
7.2.330.0110.00616.32
7.2.320.0090.00916.67
7.2.310.0100.00616.22
7.2.300.0030.01316.52
7.2.290.0060.01116.34
7.2.250.0070.01014.69
7.2.240.0090.00614.83
7.2.230.0080.00615.09
7.2.220.0030.01015.06
7.2.210.0130.00615.13
7.2.200.0070.01114.69
7.2.190.0110.00714.62
7.2.180.0030.01014.58
7.2.170.0100.00714.95
7.2.60.0030.00716.89
7.1.330.0100.00315.61
7.1.320.0080.00915.61
7.1.310.0090.00615.55
7.1.300.0060.00315.33
7.1.290.0100.00615.67
7.1.280.0070.01015.69
7.1.270.0030.01015.57
7.1.260.0040.00415.58
7.1.200.0150.00415.66
7.1.100.1740.00715.80
7.1.90.2260.01016.06
7.1.80.1910.01015.97
7.1.70.2640.01315.16
7.1.60.3130.00733.16
7.1.50.3060.01032.85
7.1.40.3590.01332.55
7.1.30.3420.02032.38
7.1.20.3120.01032.48
7.1.10.3320.01314.48
7.1.00.2940.00014.86
7.0.240.1860.01015.53
7.0.230.1950.00715.63
7.0.220.1840.00715.54
7.0.210.2610.01014.55
7.0.200.2910.00715.01
7.0.190.2850.01014.77
7.0.180.2960.00714.35
7.0.170.2990.00314.19
7.0.160.3320.01314.44
7.0.150.2130.00714.52
7.0.140.1940.00314.24
7.0.130.2890.01014.60
7.0.120.2740.01714.51
7.0.110.2980.01014.47
7.0.100.2520.00714.32
7.0.90.2800.01014.24
7.0.80.3340.00314.44
7.0.70.1460.00614.49
7.0.60.2270.01014.16
7.0.50.2710.01014.44
7.0.40.3010.00714.43
7.0.30.3020.01014.38
7.0.20.2960.01014.63
7.0.10.2760.00714.41
7.0.00.2860.00714.52

preferences:
46.34 ms | 401 KiB | 5 Q