3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { public $fillable = ['bola' => 1]; } class B extends A { public $fillable = ['peixe' => 2]; } print_r((new B)->fillable);

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.01316.50
8.3.50.0090.00616.26
8.3.40.0110.00418.45
8.3.30.0110.00418.46
8.3.20.0030.00520.20
8.3.10.0030.00521.90
8.3.00.0040.00420.84
8.2.180.0070.01118.16
8.2.170.0140.00022.96
8.2.160.0070.00722.10
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0030.00522.31
8.2.120.0030.00526.35
8.2.110.0100.00721.12
8.2.100.0070.00417.78
8.2.90.0080.00019.14
8.2.80.0000.00917.97
8.2.70.0080.00017.25
8.2.60.0000.00917.68
8.2.50.0050.00218.10
8.2.40.0000.00722.30
8.2.30.0080.00019.16
8.2.20.0000.00717.98
8.2.10.0040.00418.04
8.2.00.0000.00817.92
8.1.280.0120.00325.92
8.1.270.0030.00523.84
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0060.00320.95
8.1.230.0040.00819.20
8.1.220.0080.00017.74
8.1.210.0040.00418.77
8.1.200.0000.00917.22
8.1.190.0030.00517.10
8.1.180.0000.00818.10
8.1.170.0060.00318.57
8.1.160.0040.00418.86
8.1.150.0050.00218.71
8.1.140.0050.00319.38
8.1.130.0000.00718.69
8.1.120.0050.00317.23
8.1.110.0040.00417.21
8.1.100.0040.00417.36
8.1.90.0040.00417.22
8.1.80.0000.00917.29
8.1.70.0000.00717.29
8.1.60.0030.00517.37
8.1.50.0020.00517.29
8.1.40.0050.00517.44
8.1.30.0040.00417.48
8.1.20.0000.00917.46
8.1.10.0000.00717.39
8.1.00.0030.00617.30
8.0.300.0050.00218.77
8.0.290.0040.00416.75
8.0.280.0000.00718.26
8.0.270.0050.00317.18
8.0.260.0030.00316.77
8.0.250.0030.00316.89
8.0.240.0000.00716.79
8.0.230.0030.00316.82
8.0.220.0000.00716.65
8.0.210.0030.00316.82
8.0.200.0000.00616.72
8.0.190.0060.00316.82
8.0.180.0040.00416.80
8.0.170.0050.00316.81
8.0.160.0050.00316.67
8.0.150.0070.00016.60
8.0.140.0040.00416.61
8.0.130.0030.00413.22
8.0.120.0070.00016.57
8.0.110.0040.00416.77
8.0.100.0040.00416.70
8.0.90.0050.00216.80
8.0.80.0090.00916.73
8.0.70.0070.00016.61
8.0.60.0000.00716.78
8.0.50.0000.00716.82
8.0.30.0090.00816.96
8.0.20.0090.00917.40
8.0.10.0000.00716.81
8.0.00.0000.01716.91
7.4.330.0030.00315.55
7.4.320.0000.00616.54
7.4.300.0070.00016.49
7.4.290.0070.00016.44
7.4.280.0070.00016.43
7.4.270.0030.00316.42
7.4.260.0040.00416.43
7.4.250.0080.00016.32
7.4.240.0030.00316.52
7.4.230.0050.00216.40
7.4.220.0120.00616.60
7.4.210.0070.00716.44
7.4.200.0030.00316.50
7.4.160.0110.00416.39
7.4.150.0080.00917.40
7.4.140.0130.00617.86
7.4.130.0140.01116.45
7.4.120.0090.01316.48
7.4.110.0090.00916.42
7.4.100.0090.01116.45
7.4.90.0090.00916.42
7.4.80.0100.00719.39
7.4.70.0030.01416.46
7.4.60.0120.00616.59
7.4.50.0100.00016.22
7.4.40.0100.00616.58
7.4.30.0070.01016.43
7.4.00.0030.01015.12
7.3.330.0060.00313.04
7.3.320.0070.00013.04
7.3.310.0000.00716.07
7.3.300.0050.00216.18
7.3.290.0000.00616.18
7.3.280.0070.00816.13
7.3.270.0080.00817.40
7.3.260.0110.00916.35
7.3.250.0080.01216.37
7.3.240.0130.00516.40
7.3.230.0150.00616.47
7.3.210.0030.01316.46
7.3.200.0060.00916.43
7.3.190.0130.00316.24
7.3.180.0120.00416.45
7.3.170.0060.00916.30
7.3.160.0150.00316.27
7.3.10.0070.00716.27
7.3.00.0100.00316.43
7.2.330.0150.00616.34
7.2.320.0000.01616.35
7.2.310.0140.00316.53
7.2.300.0140.00316.37
7.2.290.0090.01216.65
7.2.130.0120.00016.72
7.2.120.0060.01216.60
7.2.110.0110.00416.89
7.2.100.0000.01016.85
7.2.90.0080.00816.65
7.2.80.0070.00916.53
7.2.70.0090.00616.79
7.2.60.0090.00716.74
7.2.50.0080.00516.74
7.2.40.0090.00716.68
7.2.30.0090.00616.78
7.2.20.0040.01116.58
7.2.10.0070.00716.75
7.2.00.0070.00616.73
7.1.250.0090.00315.80
7.1.210.0100.00615.65
7.1.200.0100.00715.59
7.1.190.0130.00315.58
7.1.180.0040.01115.66
7.1.170.0060.00915.57
7.1.160.0060.00715.55
7.1.150.0100.00615.29
7.1.140.0030.00915.42
7.1.130.0030.01315.43
7.1.120.0110.00415.70
7.1.110.0030.00915.81
7.1.100.0030.01715.53
7.1.90.0080.00315.69
7.1.80.0090.00615.44
7.1.70.0060.00615.41
7.1.60.0810.01233.45
7.1.50.0200.01133.41
7.1.40.0260.01633.54
7.1.30.0200.01233.66
7.1.20.0200.01333.87
7.1.10.0070.00715.62
7.1.00.0060.00615.60
7.0.310.0140.00715.21
7.0.300.0080.00915.07
7.0.290.0040.01215.32
7.0.280.0070.00715.25
7.0.270.0060.01114.96
7.0.260.0070.00715.16
7.0.250.0050.00515.13
7.0.240.0080.01115.41
7.0.230.0600.00315.05
7.0.220.0110.00015.01
7.0.210.0080.00615.21
7.0.200.0030.01215.27
7.0.190.0100.00614.94
7.0.180.0120.00315.34
7.0.170.0050.00515.38
7.0.160.0030.00914.89
7.0.150.0070.00415.42
7.0.140.0090.00615.22
7.0.130.0030.01015.26
7.0.120.0150.00015.11
7.0.110.0040.00815.10
7.0.100.0070.00715.25
7.0.90.0070.00415.11
7.0.80.0100.00715.33
7.0.70.0040.01115.06
7.0.60.0130.00314.97
7.0.50.0040.00715.29
7.0.40.0070.00315.40
7.0.30.0080.00315.43
7.0.20.0050.00515.08
7.0.10.0030.00815.40
7.0.00.0030.01415.40

preferences:
49.71 ms | 401 KiB | 5 Q