3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Process{ protected $valuationEstimatesArray; function __construct(){ $this->setValuationEstiamtesArray(); } function setValuationEstiamtesArray(){ $this->valuationEstimatesArray[1]['minPropertyValue'] = 100; $this->valuationEstimatesArray[1]['maxPropertyValue'] = 200; $this->valuationEstimatesArray[1]['valuationEstimate'] = 50; $this->valuationEstimatesArray[2]['minPropertyValue'] = 200; $this->valuationEstimatesArray[2]['maxPropertyValue'] = 300; $this->valuationEstimatesArray[2]['valuationEstimate'] = 100; $this->valuationEstimatesArray[3]['minPropertyValue'] = 300; $this->valuationEstimatesArray[3]['maxPropertyValue'] = 400; $this->valuationEstimatesArray[3]['valuationEstimate'] = 200; } function outputValues(){ print_r($this->valuationEstimatesArray); } } $proc = new Process; $proc->outputValues();

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.0110.00716.58
8.3.60.0070.00718.41
8.3.50.0100.00922.05
8.3.40.0090.00618.79
8.3.30.0030.01019.04
8.3.20.0080.00020.34
8.3.10.0080.00023.66
8.3.00.0110.00021.02
8.2.180.0130.00618.54
8.2.170.0070.01322.96
8.2.160.0050.00820.53
8.2.150.0060.00324.18
8.2.140.0090.00324.66
8.2.130.0000.01426.16
8.2.120.0080.00019.23
8.2.110.0090.00022.25
8.2.100.0100.00717.78
8.2.90.0080.00419.03
8.2.80.0040.00417.97
8.2.70.0030.00717.50
8.2.60.0070.00317.93
8.2.50.0000.00818.07
8.2.40.0030.00619.88
8.2.30.0040.00418.30
8.2.20.0040.00417.60
8.2.10.0000.00717.97
8.2.00.0050.00319.52
8.1.280.0070.00725.92
8.1.270.0080.00022.23
8.1.260.0030.00526.35
8.1.250.0050.00228.09
8.1.240.0100.00023.82
8.1.230.0040.00819.16
8.1.220.0090.00017.76
8.1.210.0000.00818.77
8.1.200.0030.00617.35
8.1.190.0050.00317.23
8.1.180.0060.00318.10
8.1.170.0050.00318.50
8.1.160.0040.00422.00
8.1.150.0030.00518.58
8.1.140.0000.00717.47
8.1.130.0000.00717.79
8.1.120.0000.00717.38
8.1.110.0030.00517.47
8.1.100.0040.00417.45
8.1.90.0080.00017.47
8.1.80.0000.00817.43
8.1.70.0040.00417.41
8.1.60.0090.00017.61
8.1.50.0060.00317.54
8.1.40.0030.00517.48
8.1.30.0040.00417.65
8.1.20.0000.00817.70
8.1.10.0030.00517.53
8.1.00.0030.00517.48
8.0.300.0070.00018.77
8.0.290.0000.00816.75
8.0.280.0070.00018.42
8.0.270.0030.00317.28
8.0.260.0030.00317.29
8.0.250.0000.00716.96
8.0.240.0030.00316.79
8.0.230.0000.00716.89
8.0.220.0000.00716.85
8.0.210.0000.00716.91
8.0.200.0030.00316.93
8.0.190.0000.00716.93
8.0.180.0040.00416.93
8.0.170.0030.00516.80
8.0.160.0000.00816.82
8.0.150.0090.00316.82
8.0.140.0000.00816.82
8.0.130.0050.00013.29
8.0.120.0050.00316.72
8.0.110.0040.00416.77
8.0.100.0030.00416.85
8.0.90.0000.00816.91
8.0.80.0040.01216.82
8.0.70.0070.00016.94
8.0.60.0000.00816.98
8.0.50.0050.00316.85
8.0.30.0120.00717.21
8.0.20.0100.00917.40
8.0.10.0040.00416.77
8.0.00.0120.00916.79
7.4.330.0040.00415.00
7.4.320.0060.00316.48
7.4.300.0040.00416.54
7.4.290.0070.00016.69
7.4.280.0040.00416.55
7.4.270.0050.00316.64
7.4.260.0000.00716.62
7.4.250.0070.00016.61
7.4.240.0040.00316.59
7.4.230.0080.00016.70
7.4.220.0150.01416.67
7.4.210.0040.01116.68
7.4.200.0080.00016.63
7.4.160.0130.00616.48
7.4.150.0070.01117.40
7.4.140.0110.00617.86
7.4.130.0100.00716.57
7.4.120.0090.00816.47
7.4.110.0120.00916.48
7.4.100.0120.00616.53
7.4.90.0080.00816.63
7.4.80.0100.00719.39
7.4.70.0040.01116.41
7.4.60.0060.01216.46
7.4.50.0040.00416.32
7.4.40.0060.01416.43
7.4.30.0150.00416.48
7.4.00.0100.00715.04
7.3.330.0020.00213.36
7.3.320.0060.00013.26
7.3.310.0070.00016.18
7.3.300.0070.00016.21
7.3.290.0100.00316.29
7.3.280.0070.01216.33
7.3.270.0060.01017.40
7.3.260.0040.01516.39
7.3.250.0060.01416.28
7.3.240.0130.00316.59
7.3.230.0100.00616.39
7.3.210.0060.01216.61
7.3.200.0110.00519.39
7.3.190.0040.01816.50
7.3.180.0030.01216.55
7.3.170.0090.01216.51
7.3.160.0030.01416.25
7.3.120.0040.01414.72
7.3.10.0060.00916.64
7.3.00.0030.01016.57
7.2.330.0170.00716.64
7.2.320.0070.01016.37
7.2.310.0130.01016.71
7.2.300.0140.00816.71
7.2.290.0040.01216.46
7.2.130.0060.00816.88
7.2.120.0130.00616.95
7.2.110.0040.00716.81
7.2.100.0120.00316.64
7.2.90.0000.01716.86
7.2.80.0000.00916.87
7.2.70.0070.00716.95
7.2.60.0030.00916.88
7.2.50.0090.00616.93
7.2.40.0070.00716.77
7.2.30.0030.01016.88
7.2.20.0000.01016.79
7.2.10.0000.01117.08
7.2.00.0100.00518.31
7.1.250.0080.00315.88
7.1.200.0050.00515.74
7.1.100.0070.00718.00
7.1.70.0030.00616.83
7.1.60.0130.00317.25
7.1.50.0070.01416.98
7.1.00.0000.07722.54
7.0.200.0030.01416.73
7.0.140.0030.07322.21
7.0.60.0200.07319.83
7.0.50.0070.07017.87
7.0.40.0030.05720.27
7.0.30.0300.04720.17
7.0.20.0230.05020.24
7.0.10.0370.07020.15
7.0.00.0100.04320.05
5.6.280.0100.06721.00
5.6.210.0130.07320.73
5.6.200.0000.09018.23
5.6.190.0070.08020.61
5.6.180.0030.08320.39
5.6.170.0300.06020.48
5.6.160.0070.03720.46
5.6.150.0100.08018.12
5.6.140.0000.05018.12
5.6.130.0070.03718.11
5.6.120.0070.04021.00
5.6.110.0130.04020.98
5.6.100.0100.07720.99
5.6.90.0130.08020.99
5.6.80.0070.07720.39
5.6.70.0470.05320.48
5.5.350.0000.08720.35
5.5.340.0070.06717.93
5.5.330.0030.04320.41
5.5.320.0070.05020.27
5.5.310.0230.08020.41
5.5.300.0100.06017.95
5.5.290.0100.07017.97
5.5.280.0030.04020.70
5.5.270.0000.08320.80
5.5.260.0030.08320.98
5.5.250.0030.08320.72
5.5.240.0130.06320.19
5.4.450.1400.03719.39
5.4.440.0470.03736.20
5.4.430.0270.03733.62
5.4.420.0530.02733.62
5.4.410.1030.04719.20
5.4.400.0300.03731.27
5.4.390.0330.04331.27
5.4.380.0200.05318.61
5.4.370.0330.04318.55
5.4.360.0230.05318.75
5.4.350.0330.06718.68
5.4.340.0200.05318.73
5.4.320.0050.04112.50
5.4.310.0060.04112.50
5.4.300.0050.03912.50
5.4.290.0060.03812.50
5.4.280.0060.03712.39
5.4.270.0100.03812.40
5.4.260.0050.03912.40
5.4.250.0060.04112.40
5.4.240.0070.03612.40
5.4.230.0030.04212.39
5.4.220.0050.04012.39
5.4.210.0070.04512.39
5.4.200.0060.04312.39
5.4.190.0030.03912.39
5.4.180.0040.03812.39
5.4.170.0070.03712.40
5.4.160.0080.03412.39
5.4.150.0090.03412.39
5.4.140.0050.03912.07
5.4.130.0080.03512.06
5.4.120.0080.04912.02
5.4.110.0070.03512.02
5.4.100.0050.03712.02
5.4.90.0060.03812.02
5.4.80.0060.03712.02
5.4.70.0060.03412.02
5.4.60.0040.03812.01
5.4.50.0080.03412.01
5.4.40.0060.03412.00
5.4.30.0070.03412.00
5.4.20.0040.03612.00
5.4.10.0040.03712.00
5.4.00.0070.03711.49
5.3.290.0080.03912.80
5.3.280.0100.03412.71
5.3.270.0050.04112.72
5.3.260.0100.03612.72
5.3.250.0110.03312.72
5.3.240.0060.03912.72
5.3.230.0060.04412.71
5.3.220.0100.03312.68
5.3.210.0070.03812.68
5.3.200.0050.03812.68
5.3.190.0050.03912.68
5.3.180.0100.03412.67
5.3.170.0030.04112.67
5.3.160.0080.03712.67
5.3.150.0050.03912.68
5.3.140.0050.03912.66
5.3.130.0060.05512.66
5.3.120.0070.04812.66
5.3.110.0060.03912.66
5.3.100.0060.03712.13
5.3.90.0030.04012.11
5.3.80.0050.03912.10
5.3.70.0070.03612.11
5.3.60.0100.03312.09
5.3.50.0060.03612.04
5.3.40.0020.04012.03
5.3.30.0080.03411.99
5.3.20.0070.03411.77
5.3.10.0050.03711.74
5.3.00.0070.03611.73
5.2.170.0070.0309.23
5.2.160.0070.0279.23
5.2.150.0010.0349.23
5.2.140.0060.0309.23
5.2.130.0050.0299.19
5.2.120.0050.0289.18
5.2.110.0050.0299.20
5.2.100.0090.0379.18
5.2.90.0080.0279.19
5.2.80.0100.0259.18
5.2.70.0080.0289.18
5.2.60.0040.0329.14
5.2.50.0060.0309.11
5.2.40.0040.0319.08
5.2.30.0060.0299.05
5.2.20.0030.0349.04
5.2.10.0070.0318.95
5.2.00.0080.0278.81
5.1.60.0090.0208.10
5.1.50.0030.0278.10
5.1.40.0080.0218.07
5.1.30.0030.0288.42
5.1.20.0020.0288.45
5.1.10.0040.0268.17
5.1.00.0030.0268.18
5.0.50.0020.0236.64
5.0.40.0040.0186.51
5.0.30.0060.0296.32
5.0.20.0030.0256.29
5.0.10.0090.0166.27
5.0.00.0070.0276.26
4.4.90.0010.0214.78
4.4.80.0030.0154.75
4.4.70.0020.0164.76
4.4.60.0020.0164.76
4.4.50.0010.0164.77
4.4.40.0020.0254.71
4.4.30.0040.0154.76
4.4.20.0030.0164.84
4.4.10.0060.0134.85
4.4.00.0030.0254.76
4.3.110.0040.0144.67
4.3.100.0030.0154.66
4.3.90.0040.0184.64
4.3.80.0040.0324.58
4.3.70.0020.0224.63
4.3.60.0030.0204.63
4.3.50.0050.0134.63
4.3.40.0020.0254.54
4.3.30.0030.0203.30
4.3.20.0040.0183.28
4.3.10.0020.0233.23
4.3.00.0070.01331.25

preferences:
41.67 ms | 401 KiB | 5 Q