3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { public $esam = 10; } class B { public $mase = 20; } $a = new A; $a->esam = new B; echo $a->esam->mase . "\n"; $c = clone $a; var_dump($c);

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.0110.00718.30
8.3.50.0070.01017.90
8.3.40.0110.00418.59
8.3.30.0060.00918.75
8.3.20.0040.00419.15
8.3.10.0040.00421.85
8.3.00.0040.00423.70
8.2.180.0110.00418.38
8.2.170.0180.00022.96
8.2.160.0140.00719.46
8.2.150.0090.00024.18
8.2.140.0070.00024.66
8.2.130.0050.00320.35
8.2.120.0000.00826.35
8.2.110.0060.00622.11
8.2.100.0070.00417.91
8.2.90.0000.00819.09
8.2.80.0040.00417.97
8.2.70.0000.00817.80
8.2.60.0000.00717.93
8.2.50.0030.00618.10
8.2.40.0040.00421.18
8.2.30.0030.00519.31
8.2.20.0000.00717.94
8.2.10.0000.00817.94
8.2.00.0050.00319.45
8.1.280.0100.00725.92
8.1.270.0080.00022.10
8.1.260.0070.00026.35
8.1.250.0000.00828.09
8.1.240.0060.00323.88
8.1.230.0110.00017.70
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0000.00917.38
8.1.190.0050.00317.22
8.1.180.0060.00318.10
8.1.170.0000.00818.73
8.1.160.0070.00018.86
8.1.150.0070.00018.94
8.1.140.0070.00017.73
8.1.130.0000.00718.98
8.1.120.0050.00317.46
8.1.110.0090.00017.37
8.1.100.0040.00417.55
8.1.90.0060.00617.51
8.1.80.0080.00017.48
8.1.70.0000.00717.49
8.1.60.0040.00417.61
8.1.50.0000.00917.50
8.1.40.0030.00617.41
8.1.30.0090.00017.60
8.1.20.0000.00817.57
8.1.10.0030.00517.50
8.1.00.0000.00817.52
8.0.300.0040.00421.44
8.0.290.0060.00316.75
8.0.280.0030.00318.36
8.0.270.0030.00317.17
8.0.260.0030.00717.17
8.0.250.0060.00016.97
8.0.240.0000.00816.85
8.0.230.0000.00816.95
8.0.220.0060.00316.90
8.0.210.0030.00316.89
8.0.200.0060.00316.97
8.0.190.0050.00316.98
8.0.180.0070.00016.91
8.0.170.0000.00816.95
8.0.160.0070.00016.91
8.0.150.0030.00516.94
8.0.140.0040.00416.82
8.0.130.0000.00513.34
8.0.120.0070.00016.79
8.0.110.0000.00716.93
8.0.100.0020.00516.79
8.0.90.0050.00216.76
8.0.80.0060.01216.95
8.0.70.0070.00016.80
8.0.60.0040.00416.87
8.0.50.0000.00716.71
8.0.30.0110.00817.16
8.0.20.0130.00917.40
8.0.10.0040.00416.85
8.0.00.0130.00416.79
7.4.330.0040.00015.55
7.4.320.0000.00616.60
7.4.300.0030.00316.65
7.4.290.0040.00416.59
7.4.280.0050.00216.64
7.4.270.0030.00316.57
7.4.260.0050.00216.45
7.4.250.0030.00316.54
7.4.240.0030.00316.55
7.4.230.0030.00316.40
7.4.220.0050.00516.58
7.4.210.0090.00416.54
7.4.200.0070.00016.63
7.4.160.0090.00716.50
7.4.140.0110.00817.86
7.4.130.0090.00916.50
7.4.120.0130.00916.45
7.4.110.0080.00816.39
7.4.100.0030.01316.25
7.4.90.0080.01316.52
7.4.80.0110.00819.39
7.4.70.0160.00316.50
7.4.60.0080.00816.38
7.4.50.0040.01216.54
7.4.40.0090.00916.61
7.4.00.0080.00614.97
7.3.330.0000.00713.28
7.3.320.0000.00613.26
7.3.310.0030.00316.27
7.3.300.0000.00716.32
7.3.290.0070.00016.38
7.3.280.0090.01116.25
7.3.260.0100.00816.45
7.3.240.0070.01116.45
7.3.230.0150.00316.45
7.3.210.0090.00916.36
7.3.200.0090.00916.27
7.3.190.0060.00916.35
7.3.180.0070.01516.33
7.3.170.0100.01716.61
7.3.160.0070.01016.58
7.2.330.0190.00416.52
7.2.320.0090.01416.49
7.2.310.0110.01116.89
7.2.300.0070.01116.77
7.2.290.0140.00816.59
7.2.70.0040.01116.95
7.2.60.0090.00616.70
7.2.50.0090.00916.59
7.2.40.0030.01516.73
7.2.30.0090.00916.90
7.2.20.0090.00916.59
7.2.10.0090.00916.44
7.2.00.0150.00316.96
7.1.200.0100.00315.84
7.1.170.0070.00715.65
7.1.160.0000.01315.66
7.1.150.0050.01115.55
7.1.140.0000.01615.85
7.1.130.0040.01215.66
7.1.120.0000.01115.50
7.1.110.0060.00615.67
7.1.100.0080.00315.57
7.1.90.0030.01015.73
7.1.80.0100.00715.72
7.1.70.0110.00515.81
7.1.60.0380.00733.73
7.1.50.0250.01933.77
7.1.40.0280.01633.64
7.1.30.0270.00333.64
7.1.20.0220.00933.52
7.1.10.0030.01315.87
7.1.00.0060.00615.89

preferences:
60.17 ms | 401 KiB | 5 Q