3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Bear { public $age = 0; } $bear1 = new Bear(); $bear1->age = 25; $bear2 = new Bear(); $bear2->age = 35; var_dump($bear1); var_dump($bear2);

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.0080.00816.63
8.3.50.0120.01022.04
8.3.40.0120.00618.70
8.3.30.0150.00018.73
8.3.20.0070.00020.20
8.3.10.0080.00023.65
8.3.00.0070.00020.93
8.2.180.0070.01116.38
8.2.170.0160.00318.79
8.2.160.0110.00322.96
8.2.150.0050.00224.18
8.2.140.0040.00424.66
8.2.130.0050.00520.93
8.2.120.0050.00326.35
8.2.110.0060.00322.08
8.2.100.0040.00717.93
8.2.90.0000.00819.17
8.2.80.0030.00617.97
8.2.70.0060.00317.38
8.2.60.0090.00017.80
8.2.50.0050.00318.07
8.2.40.0050.00322.36
8.2.30.0050.00220.59
8.2.20.0020.00517.63
8.2.10.0040.00417.99
8.2.00.0000.00717.87
8.1.280.0070.00725.92
8.1.270.0090.00020.37
8.1.260.0050.00228.09
8.1.250.0070.00028.09
8.1.240.0060.00323.92
8.1.230.0060.00619.10
8.1.220.0040.00417.74
8.1.210.0080.00018.77
8.1.200.0060.00317.13
8.1.190.0040.00417.22
8.1.180.0040.00418.10
8.1.170.0000.00818.72
8.1.160.0040.00420.70
8.1.150.0030.00318.86
8.1.140.0050.00319.53
8.1.130.0030.00317.52
8.1.120.0000.00717.38
8.1.110.0040.00417.41
8.1.100.0000.00717.41
8.1.90.0030.00617.39
8.1.80.0000.00717.38
8.1.70.0000.00717.28
8.1.60.0040.00417.41
8.1.50.0030.00617.50
8.1.40.0040.00417.49
8.1.30.0040.00417.50
8.1.20.0000.00817.65
8.1.10.0040.00417.43
8.1.00.0000.00717.39
8.0.300.0060.00318.77
8.0.290.0050.00316.63
8.0.280.0070.00018.31
8.0.270.0030.00517.27
8.0.260.0000.00617.19
8.0.250.0000.00716.88
8.0.240.0040.00416.77
8.0.230.0000.00716.75
8.0.220.0030.00516.82
8.0.210.0050.00216.79
8.0.200.0050.00216.82
8.0.190.0000.00816.90
8.0.180.0070.00016.91
8.0.170.0000.00816.85
8.0.160.0000.00716.76
8.0.150.0070.00016.84
8.0.140.0000.01116.76
8.0.130.0030.00313.22
8.0.120.0050.00316.71
8.0.110.0040.00416.71
8.0.100.0000.00716.84
8.0.90.0080.00016.74
8.0.80.0100.01116.86
8.0.70.0000.00716.68
8.0.60.0000.00716.61
8.0.50.0050.00316.71
8.0.30.0100.01016.98
8.0.20.0140.00617.40
8.0.10.0020.00516.91
8.0.00.0100.00916.61
7.4.330.0020.00216.66
7.4.320.0000.00716.43
7.4.300.0030.00316.54
7.4.290.0030.00316.53
7.4.280.0000.00816.36
7.4.270.0030.00316.58
7.4.260.0030.00316.56
7.4.250.0050.00216.31
7.4.240.0040.00316.55
7.4.230.0070.00016.48
7.4.220.0140.01316.42
7.4.210.0060.01116.55
7.4.200.0050.00216.54
7.4.160.0060.00916.28
7.4.150.0040.01317.40
7.4.140.0120.01017.86
7.4.130.0070.01116.54
7.4.120.0170.00316.37
7.4.110.0070.01116.58
7.4.100.0160.00816.50
7.4.90.0100.00816.38
7.4.80.0100.00719.39
7.4.70.0120.00416.56
7.4.60.0100.00716.51
7.4.50.0130.00316.44
7.4.40.0180.00316.47
7.4.30.0160.00316.31
7.4.10.0070.01114.52
7.4.00.0060.00914.84
7.3.330.0000.00613.08
7.3.320.0000.00613.07
7.3.310.0000.00716.14
7.3.300.0030.00316.28
7.3.290.0030.00316.13
7.3.280.0100.00716.25
7.3.270.0130.00417.40
7.3.260.0160.00016.46
7.3.250.0150.00416.57
7.3.240.0080.00816.51
7.3.230.0080.01416.39
7.3.210.0130.00316.20
7.3.200.0130.00416.32
7.3.190.0060.01216.49
7.3.180.0030.01816.34
7.3.170.0000.01816.36
7.3.160.0110.00716.59
7.3.130.0070.01414.61
7.3.120.0060.00914.77
7.3.110.0070.01114.89
7.3.100.0040.01414.41
7.3.90.0030.01214.65
7.3.80.0060.00614.47
7.3.70.0080.00814.30
7.3.60.0090.00614.54
7.3.50.0090.00314.84
7.3.40.0090.00614.65
7.3.30.0030.01514.67
7.3.20.0030.01216.30
7.3.10.0080.00716.51
7.3.00.0040.01116.54
7.2.330.0080.00916.50
7.2.320.0270.03416.68
7.2.310.0030.01316.38
7.2.300.0100.00716.42
7.2.290.0030.01416.47
7.2.260.0060.01214.74
7.2.250.0030.01414.81
7.2.240.0040.01215.01
7.2.230.0100.00614.98
7.2.220.0120.00614.85
7.2.210.0100.00714.59
7.2.200.0030.01314.90
7.2.190.0060.01314.90
7.2.180.0120.00014.68
7.2.170.0040.00914.86
7.2.160.0000.01115.03
7.2.150.0100.00716.65
7.2.140.0090.00516.66
7.2.130.0100.00716.77
7.2.120.0040.01116.80
7.2.110.0070.00716.72
7.2.100.0060.00516.58
7.2.90.0060.00716.79
7.2.80.0030.01016.86
7.2.70.0070.00516.58
7.2.60.0060.01016.69
7.2.50.0020.01316.76
7.2.40.0060.00716.63
7.2.30.0050.00816.51
7.2.20.0050.00816.72
7.2.10.0060.00616.70
7.2.00.0080.00617.40
7.1.330.0060.00315.73
7.1.320.0050.00515.53
7.1.310.0090.00615.86
7.1.300.0150.00315.40
7.1.290.0060.00915.73
7.1.280.0060.00915.66
7.1.270.0070.00315.62
7.1.260.0090.00015.58
7.1.250.0050.00615.73
7.1.240.0070.01015.59
7.1.230.0070.00715.79
7.1.220.0040.00415.74
7.1.210.0000.01315.72
7.1.200.0040.00615.61
7.1.190.0000.01315.70
7.1.180.0000.01615.68
7.1.170.0060.00315.70
7.1.160.0090.00315.89
7.1.150.0070.01015.81
7.1.140.0040.01215.81
7.1.130.0070.00715.65
7.1.120.0080.00815.53
7.1.110.0110.00415.64
7.1.100.0030.01116.80
7.1.90.0040.01215.68
7.1.80.0070.01015.80
7.1.70.0030.00716.55
7.1.60.0060.00917.61
7.1.50.0020.01616.31
7.1.40.0070.01015.63
7.1.30.0040.00415.63
7.1.20.0060.00315.21
7.1.10.0030.01315.72
7.1.00.0020.04518.87
7.0.330.0030.00615.26
7.0.320.0000.00914.88
7.0.310.0060.00315.27
7.0.300.0000.01115.00
7.0.290.0000.01515.16
7.0.280.0030.01114.87
7.0.270.0070.01014.97
7.0.260.0070.00715.28
7.0.250.0030.01015.15
7.0.240.0070.00715.32
7.0.230.0080.00815.16
7.0.220.0060.00615.35
7.0.210.0070.00315.24
7.0.200.0050.00615.92
7.0.190.0050.00515.25
7.0.180.0070.01115.15
7.0.170.0040.01415.09
7.0.160.0000.01115.37
7.0.150.0080.00315.11
7.0.140.0040.00715.22
7.0.130.0030.01014.77
7.0.120.0080.00515.21
7.0.110.0000.01115.17
7.0.100.0060.00615.13
7.0.90.0130.00315.22
7.0.80.0100.00315.16
7.0.70.0090.00315.07
7.0.60.0070.04417.52
7.0.50.0070.02716.61
7.0.40.0040.02716.86
7.0.30.0270.03716.74
7.0.20.0070.03216.68
7.0.10.0070.04816.73
7.0.00.0080.05516.83
5.6.400.0080.00414.00
5.6.390.0040.00713.90
5.6.380.0030.00614.34
5.6.370.0050.00513.91
5.6.360.0030.00914.29
5.6.350.0000.01414.23
5.6.340.0130.00314.32
5.6.330.0000.01514.66
5.6.320.0100.00314.60
5.6.310.0030.01014.14
5.6.300.0040.01214.38
5.6.290.0000.00914.07
5.6.280.0050.03017.80
5.6.270.0060.00914.39
5.6.260.0040.01114.39
5.6.250.0030.00814.38
5.6.240.0100.00314.13
5.6.230.0070.00714.08
5.6.220.0040.01114.15
5.6.210.0070.03017.41
5.6.200.0070.03216.26
5.6.190.0100.04317.46
5.6.180.0120.02517.40
5.6.170.0170.02517.35
5.6.160.0070.04617.33
5.6.150.0080.04516.17
5.6.140.0070.02216.28
5.6.130.0050.02716.16
5.6.120.0130.03817.62
5.6.110.0030.04417.76
5.6.100.0100.02617.57
5.6.90.0070.05017.69
5.6.80.0090.02917.42
5.6.70.0030.01314.24
5.6.60.0060.00914.23
5.6.50.0030.01414.28
5.6.40.0000.01414.36
5.6.30.0100.00714.09
5.6.20.0030.01214.15
5.6.10.0060.01514.39
5.6.00.0090.00614.36
5.5.380.0140.00314.31
5.5.370.0090.00614.20
5.5.360.0040.01214.10
5.5.350.1980.02717.24
5.5.340.0070.03916.13
5.5.330.0120.04217.14
5.5.320.0160.02617.29
5.5.310.0120.02317.40
5.5.300.0070.04316.24
5.5.290.0080.04115.96
5.5.280.0070.04117.30
5.5.270.0090.04517.46
5.5.260.0070.02817.38
5.5.250.0030.03817.34
5.5.240.1660.02117.24
5.5.230.0030.01314.27
5.5.220.0040.00713.91
5.5.210.0060.01013.85
5.5.200.0090.00014.00
5.5.190.0040.01114.14
5.5.180.0100.01014.29
5.5.170.0030.01414.01
5.5.160.0040.00713.98
5.5.150.0040.00814.16
5.5.140.0000.01514.16
5.5.130.0120.00313.52
5.5.120.0120.00314.33
5.5.110.0070.00714.02
5.5.100.0100.00313.93
5.5.90.0120.00313.71
5.5.80.0070.01014.05
5.5.70.0060.01213.59
5.5.60.0060.00914.13
5.5.50.0120.00414.24
5.5.40.0130.00013.97
5.5.30.0000.01413.91
5.5.20.0080.00314.21
5.5.10.0070.01014.10
5.5.00.0100.00313.90

preferences:
64.82 ms | 401 KiB | 5 Q