3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Disney { public $cartoon; function __construct($cartoon) { $this->cartoon = $cartoon; } } $disney = new Disney("The Beauty and The Beast"); $waltDisney = $disney; $waltDisney->cartoon = "Pinocchio"; echo $disney->cartoon;

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.00718.27
8.3.50.0100.01016.28
8.3.40.0080.00818.85
8.3.30.0040.01118.84
8.3.20.0000.00720.35
8.3.10.0040.00423.70
8.3.00.0080.00019.29
8.2.180.0040.01118.52
8.2.170.0120.00922.96
8.2.160.0070.00720.52
8.2.150.0060.00324.18
8.2.140.0050.00324.66
8.2.130.0070.00019.27
8.2.120.0070.00026.35
8.2.110.0080.00021.12
8.2.100.0060.00617.84
8.2.90.0000.00917.83
8.2.80.0040.00419.16
8.2.70.0080.00017.80
8.2.60.0040.00418.04
8.2.50.0060.00318.22
8.2.40.0070.00020.60
8.2.30.0040.00419.45
8.2.20.0040.00418.07
8.2.10.0040.00418.07
8.2.00.0000.00718.18
8.1.280.0120.00925.92
8.1.270.0080.00020.14
8.1.260.0040.00426.35
8.1.250.0000.00728.09
8.1.240.0050.00323.94
8.1.230.0060.00621.04
8.1.220.0070.00017.74
8.1.210.0000.00820.33
8.1.200.0040.00417.35
8.1.190.0030.00817.22
8.1.180.0000.00818.10
8.1.170.0080.00018.50
8.1.160.0050.00218.83
8.1.150.0040.00418.82
8.1.140.0070.00019.00
8.1.130.0040.00419.02
8.1.120.0030.00317.38
8.1.110.0000.00817.25
8.1.100.0000.00717.30
8.1.90.0070.00017.41
8.1.80.0030.00417.45
8.1.70.0050.00317.45
8.1.60.0040.00417.49
8.1.50.0040.00417.50
8.1.40.0040.00417.54
8.1.30.0000.00817.56
8.1.20.0040.00417.63
8.1.10.0000.00817.61
8.1.00.0000.00817.46
8.0.300.0040.00420.20
8.0.290.0000.00716.75
8.0.280.0030.00318.42
8.0.270.0000.00717.14
8.0.260.0060.00017.33
8.0.250.0070.00017.01
8.0.240.0040.00416.97
8.0.230.0030.00316.87
8.0.220.0000.00716.70
8.0.210.0020.00516.70
8.0.200.0000.00716.94
8.0.190.0000.00816.79
8.0.180.0030.00516.77
8.0.170.0090.00016.91
8.0.160.0030.00616.88
8.0.150.0040.00416.77
8.0.140.0070.00016.80
8.0.130.0000.00513.27
8.0.120.0050.00316.71
8.0.110.0000.00816.67
8.0.100.0040.00416.61
8.0.90.0030.00516.80
8.0.80.0030.01316.89
8.0.70.0070.00016.80
8.0.60.0000.00816.62
8.0.50.0070.00016.71
8.0.30.0070.01017.04
8.0.20.0080.01017.40
8.0.10.0070.00016.98
8.0.00.0080.01216.90
7.4.330.0000.00515.55
7.4.320.0000.00916.46
7.4.300.0070.00016.43
7.4.290.0000.00716.52
7.4.280.0040.00416.62
7.4.270.0040.00416.42
7.4.260.0000.00716.43
7.4.250.0080.00016.56
7.4.240.0000.00716.45
7.4.230.0000.00716.61
7.4.220.0000.00816.68
7.4.210.0120.00716.53
7.4.200.0000.00716.49
7.4.160.0090.00916.60
7.4.150.0100.00717.40
7.4.140.0100.01017.86
7.4.130.0140.00316.50
7.4.120.0140.00816.56
7.4.110.0140.00516.58
7.4.100.0190.00616.69
7.4.90.0060.01216.55
7.4.80.0090.00919.39
7.4.70.0100.02716.40
7.4.60.0080.00816.55
7.4.50.0070.01116.53
7.4.40.0110.00616.52
7.4.00.0100.00615.12
7.3.330.0030.00313.36
7.3.320.0000.00713.37
7.3.310.0040.00416.18
7.3.300.0040.00416.21
7.3.290.0030.00316.41
7.3.280.0120.00516.38
7.3.270.0120.00617.40
7.3.260.0140.00316.45
7.3.250.0080.01016.40
7.3.240.0130.00916.39
7.3.230.0090.00916.29
7.3.210.0100.00616.27
7.3.200.0120.00816.69
7.3.190.0100.00716.27
7.3.180.0040.01216.43
7.3.170.0050.01016.32
7.3.160.0080.00816.57
7.3.10.0100.01016.39
7.3.00.0120.00616.72
7.2.330.0100.01016.38
7.2.320.0090.00616.85
7.2.310.0090.00916.85
7.2.300.0030.01316.50
7.2.290.0120.00416.91
7.2.130.0100.00716.80
7.2.120.0030.01016.84
7.2.110.0130.00516.73
7.2.100.0090.00616.76
7.2.90.0140.00716.76
7.2.80.0030.00716.97
7.2.70.0040.01116.86
7.2.60.0090.00516.88
7.2.50.0030.00916.88
7.2.40.0030.00616.60
7.2.30.0110.00416.69
7.2.20.0040.00816.54
7.2.10.0170.00717.48
7.2.00.0120.00917.49
7.1.250.0040.00815.39
7.1.200.0030.00815.80
7.1.130.0170.01016.77
7.1.120.0170.00916.65
7.1.110.0160.01116.35
7.1.100.0170.01016.23
7.1.90.0250.01116.33
7.1.80.0210.00716.32
7.1.70.0320.00615.34
7.1.60.0350.01133.24
7.1.50.0340.01533.17
7.1.40.0390.01032.59
7.1.30.0410.00332.74
7.1.20.0350.01432.83
7.1.10.0310.00314.81
7.1.00.0240.01014.75

preferences:
52 ms | 401 KiB | 5 Q