3v4l.org

run code in 300+ PHP versions simultaneously
<?php class test { public $hello = 'world'; public function test() { $this->hello = 'bubblerubble'; echo var_dump( get_class_vars( get_class() ) ); } }

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.0070.00716.25
8.3.50.0180.00016.27
8.3.40.0070.01118.72
8.3.30.0030.01218.68
8.3.20.0000.00720.30
8.3.10.0040.00421.73
8.3.00.0050.00321.87
8.2.180.0120.00318.06
8.2.170.0070.00722.96
8.2.160.0070.01020.35
8.2.150.0040.00424.18
8.2.140.0000.00724.66
8.2.130.0040.00421.17
8.2.120.0000.00826.35
8.2.110.0070.00321.03
8.2.100.0040.00717.90
8.2.90.0030.00619.11
8.2.80.0000.00817.97
8.2.70.0060.00317.50
8.2.60.0060.00617.55
8.2.50.0060.00318.09
8.2.40.0000.00822.37
8.2.30.0040.00419.37
8.2.20.0050.00217.53
8.2.10.0040.00417.86
8.2.00.0030.00317.80
8.1.280.0070.00725.92
8.1.270.0040.00422.11
8.1.260.0080.00028.09
8.1.250.0040.00428.09
8.1.240.0090.00022.39
8.1.230.0080.00417.70
8.1.220.0050.00317.74
8.1.210.0030.00518.77
8.1.200.0100.00017.23
8.1.190.0030.00517.13
8.1.180.0030.00518.10
8.1.170.0060.00318.50
8.1.160.0000.00920.50
8.1.150.0040.00418.93
8.1.140.0030.00519.43
8.1.130.0040.00417.56
8.1.120.0000.00717.24
8.1.110.0050.00317.24
8.1.100.0000.00717.33
8.1.90.0040.00417.34
8.1.80.0000.00817.23
8.1.70.0070.00017.29
8.1.60.0040.00417.47
8.1.50.0040.00417.34
8.1.40.0070.00517.42
8.1.30.0000.00817.38
8.1.20.0050.00317.52
8.1.10.0000.00817.41
8.1.00.0040.00417.35
8.0.300.0080.00018.77
8.0.290.0000.00716.63
8.0.280.0000.00618.17
8.0.270.0070.00017.04
8.0.260.0030.00317.12
8.0.250.0000.00716.80
8.0.240.0060.00316.69
8.0.230.0000.00716.80
8.0.220.0030.00316.73
8.0.210.0070.00016.76
8.0.200.0000.00816.77
8.0.190.0000.00716.82
8.0.180.0000.00716.68
8.0.170.0040.00416.74
8.0.160.0030.00316.84
8.0.150.0040.00416.75
8.0.140.0000.00716.71
8.0.130.0060.00013.16
8.0.120.0040.00416.61
8.0.110.0040.00416.78
8.0.100.0070.00016.80
8.0.90.0040.00416.80
8.0.80.0130.00716.79
8.0.70.0070.00016.66
8.0.60.0050.00316.75
8.0.50.0040.00416.63
8.0.30.0120.00516.82
8.0.20.0160.00617.40
8.0.10.0070.00016.70
8.0.00.0060.01116.66
7.4.330.0030.00316.83
7.4.320.0000.00716.32
7.4.300.0040.00416.38
7.4.290.0000.00616.26
7.4.280.0000.00816.45
7.4.270.0000.00616.39
7.4.260.0000.00716.34
7.4.250.0000.00716.42
7.4.240.0040.00416.45
7.4.230.0030.00316.17
7.4.220.0110.00816.50
7.4.210.0040.01016.55
7.4.200.0030.00316.45
7.4.160.0040.01416.44
7.4.150.0090.00917.40
7.4.140.0090.01117.86
7.4.130.0130.00516.30
7.4.120.0060.01016.28
7.4.110.0070.01716.30
7.4.100.0100.00716.32
7.4.90.0070.01716.44
7.4.80.0110.01119.39
7.4.70.0150.00016.24
7.4.60.0030.01316.28
7.4.50.0040.01116.40
7.4.40.0120.00616.41
7.4.30.0080.01116.37
7.4.10.0030.00914.46
7.4.00.0070.01014.76
7.3.330.0050.00013.20
7.3.320.0060.00013.07
7.3.310.0070.00016.21
7.3.300.0030.00316.20
7.3.290.0070.00816.20
7.3.280.0070.01016.21
7.3.270.0170.00317.40
7.3.260.0070.01016.30
7.3.250.0110.00616.26
7.3.240.0090.00916.25
7.3.230.0130.00416.39
7.3.210.0170.00716.09
7.3.200.0000.02019.39
7.3.190.0040.01816.44
7.3.180.0030.01416.51
7.3.170.0100.00716.31
7.3.160.0160.00616.27
7.3.130.0040.01514.77
7.3.120.0070.00814.75
7.3.110.0060.00914.68
7.3.100.0070.00914.56
7.3.90.0060.00714.55
7.3.80.0090.00514.54
7.3.70.0040.01014.69
7.3.60.0070.00414.66
7.3.50.0040.00814.70
7.3.40.0050.00814.64
7.3.30.0070.00714.62
7.3.20.0090.00516.53
7.3.10.0060.00716.55
7.3.00.0060.00816.53
7.2.330.0100.00716.45
7.2.320.0110.01116.38
7.2.310.0040.02016.35
7.2.300.0100.00716.55
7.2.290.0130.00316.31
7.2.260.0120.00414.48
7.2.250.0060.00914.80
7.2.240.0100.00714.69
7.2.230.0060.01014.74
7.2.220.0080.00714.77
7.2.210.0110.00414.79
7.2.200.0050.00914.76
7.2.190.0080.00714.85
7.2.180.0050.00614.73
7.2.170.0040.00814.83
7.2.160.0050.00814.78
7.2.150.0060.01016.67
7.2.140.0040.01116.60
7.2.130.0050.00716.68
7.2.120.0050.01016.73
7.2.110.0060.00716.66
7.2.100.0030.00816.65
7.2.90.0070.00816.60
7.2.80.0060.00916.68
7.2.70.0060.00816.65
7.2.60.0050.01016.67
7.2.50.0070.00716.67
7.2.40.0040.00716.64
7.2.30.0070.00816.73
7.2.20.0060.00716.68
7.2.10.0050.00916.58
7.2.00.0060.00717.15
7.1.330.0040.01015.57
7.1.320.0070.00915.55
7.1.310.0050.00815.72
7.1.300.0070.00615.56
7.1.290.0040.00715.43
7.1.280.0060.00715.50
7.1.270.0060.00715.46
7.1.260.0050.00715.65
7.1.250.0060.00615.59
7.1.240.0030.01015.66
7.1.230.0050.00615.22
7.1.220.0000.01115.24
7.1.210.0070.00715.63
7.1.200.0070.00615.65
7.1.190.0040.01015.60
7.1.180.0030.00815.49
7.1.170.0040.00815.51
7.1.160.0050.00415.54
7.1.150.0060.00715.67
7.1.140.0040.00915.66
7.1.130.0030.01015.45
7.1.120.0050.00815.50
7.1.110.0020.00915.46
7.1.100.0050.00816.41
7.1.90.0060.00915.66
7.1.80.0090.00315.62
7.1.70.0070.00616.07
7.1.60.0080.00816.87
7.1.50.0040.00715.95
7.1.40.0030.00915.53
7.1.30.0100.00215.56
7.1.20.0110.00415.69
7.1.10.0060.00415.40
7.1.00.0080.02617.83
7.0.330.0070.00515.21
7.0.320.0020.00715.24
7.0.310.0020.00815.12
7.0.300.0040.00515.26
7.0.290.0040.00615.33
7.0.280.0020.00915.24
7.0.270.0060.00715.17
7.0.260.0050.00715.24
7.0.250.0030.01115.12
7.0.240.0070.00915.19
7.0.230.0060.00615.30
7.0.220.0120.00115.32
7.0.210.0030.00615.25
7.0.200.0520.00614.97
7.0.190.0020.01015.27
7.0.180.0000.01115.24
7.0.170.0040.00915.07
7.0.160.0050.00515.22
7.0.150.0060.00715.08
7.0.140.0000.01115.22
7.0.130.0020.01015.01
7.0.120.0090.00415.11
7.0.110.0030.01015.16
7.0.100.0040.00715.28
7.0.90.0070.00915.09
7.0.80.0020.01115.23
7.0.70.0090.00315.15
7.0.60.0130.02417.33
7.0.50.0100.02816.13
7.0.40.0100.03015.59
7.0.30.0150.02815.61
7.0.20.0100.02115.61
7.0.10.0070.03315.58
7.0.00.0090.03015.57
5.6.400.0070.00514.26
5.6.390.0110.00314.16
5.6.380.0080.00714.02
5.6.370.0090.00614.22
5.6.360.0030.00614.03
5.6.350.0070.00814.04
5.6.340.0000.01214.15
5.6.330.0010.01214.12
5.6.320.0040.00714.32
5.6.310.0050.00514.31
5.6.300.0060.00614.19
5.6.290.0040.00914.23
5.6.280.0080.01816.50
5.6.270.0110.00414.20
5.6.260.0030.01014.29
5.6.250.0040.00614.15
5.6.240.0080.00614.05
5.6.230.0060.00814.01
5.6.220.0050.00514.17
5.6.210.0150.02616.29
5.6.200.0050.03515.41
5.6.190.0040.03316.31
5.6.180.0130.02916.17
5.6.170.0120.02316.26
5.6.160.0070.01616.19
5.6.150.0090.02715.39
5.6.140.0100.02615.52
5.6.130.0070.01815.44
5.6.120.0030.02916.32
5.6.110.0100.02216.47
5.6.100.0040.03416.33
5.6.90.0020.03916.50
5.6.80.0070.02516.35
5.6.70.0030.01213.93
5.6.60.0070.00714.10
5.6.50.0060.00814.14
5.6.40.0020.01214.01
5.6.30.0020.01013.99
5.6.20.0050.00913.90
5.6.10.0060.00314.25
5.6.00.0000.01314.15
5.5.380.0020.01414.03
5.5.370.0050.00813.90
5.5.360.0050.00814.01
5.5.350.0070.02516.15
5.5.340.0080.03315.40
5.5.330.0050.02116.15
5.5.320.0190.03016.32
5.5.310.0140.02816.20
5.5.300.0090.01915.38
5.5.290.0070.01915.21
5.5.280.0090.01616.31
5.5.270.0050.01916.20
5.5.260.0090.03016.34
5.5.250.0070.03216.21
5.5.240.0080.03216.06
5.5.230.0050.00913.71
5.5.220.0020.01213.98
5.5.210.0070.00513.96
5.5.200.0070.00813.90
5.5.190.0060.00514.02
5.5.180.0050.00713.91
5.5.170.0030.00813.91
5.5.160.0030.01213.87
5.5.150.0090.00714.07
5.5.140.0040.00913.98
5.5.130.0050.00513.98
5.5.120.0040.00713.82
5.5.110.0050.00813.84
5.5.100.0010.00913.97
5.5.90.0060.00613.85
5.5.80.0030.01014.04
5.5.70.0030.01213.81
5.5.60.0070.00813.90
5.5.50.0060.00514.06
5.5.40.0020.01013.75
5.5.30.0070.00513.71
5.5.20.0050.00813.82
5.5.10.0070.00513.87
5.5.00.0050.00613.87

preferences:
63.39 ms | 400 KiB | 5 Q