3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Cat { protected $isFloof; protected $isEvil; public function __construct() { $this->isFloof = true; $this->isEvil = true; } } $cat = Cat(); if ($cat->isEvil) { echo "run"; }

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.0140.00718.43
8.3.50.0070.01417.93
8.3.40.0120.00318.93
8.3.30.0110.00418.63
8.3.20.0030.00620.21
8.3.10.0040.00420.57
8.3.00.0080.00323.66
8.2.180.0000.01416.37
8.2.170.0140.00322.96
8.2.160.0130.01021.88
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0040.00421.04
8.2.120.0000.00726.35
8.2.110.0140.00321.12
8.2.100.0060.00617.78
8.2.90.0000.00819.09
8.2.80.0000.00817.97
8.2.70.0080.00017.49
8.2.60.0040.00418.04
8.2.50.0030.00618.09
8.2.40.0040.00420.34
8.2.30.0000.00719.27
8.2.20.0000.00717.73
8.2.10.0040.00417.87
8.2.00.0000.00817.94
8.1.280.0120.00625.92
8.1.270.0070.01422.18
8.1.260.0000.00828.09
8.1.250.0050.00328.09
8.1.240.0090.00022.64
8.1.230.0090.00317.51
8.1.220.0060.00317.74
8.1.210.0050.00318.77
8.1.200.0030.00617.10
8.1.190.0070.00416.86
8.1.180.0000.00718.10
8.1.170.0080.00018.54
8.1.160.0040.00420.55
8.1.150.0040.00418.76
8.1.140.0040.00419.48
8.1.130.0070.00017.56
8.1.120.0050.00217.38
8.1.110.0040.00417.30
8.1.100.0070.00017.39
8.1.90.0000.00717.28
8.1.80.0030.00517.22
8.1.70.0000.00717.32
8.1.60.0090.00017.34
8.1.50.0030.00617.45
8.1.40.0000.00817.36
8.1.30.0060.00317.49
8.1.20.0000.00717.45
8.1.10.0060.00617.50
8.1.00.0000.00817.45
8.0.300.0000.00818.77
8.0.290.0050.00516.75
8.0.280.0030.00318.28
8.0.270.0070.00017.22
8.0.260.0000.00617.20
8.0.250.0060.00316.90
8.0.240.0000.00716.96
8.0.230.0030.00316.97
8.0.220.0040.00416.85
8.0.210.0030.00316.88
8.0.200.0070.00016.84
8.0.190.0030.00516.86
8.0.180.0040.00416.89
8.0.170.0040.00416.91
8.0.160.0040.00416.80
8.0.150.0060.00316.86
8.0.140.0000.00716.83
8.0.130.0000.00613.30
8.0.120.0040.00416.89
8.0.110.0040.00416.71
8.0.100.0030.00516.75
8.0.90.0000.00816.89
8.0.80.0070.00716.92
8.0.70.0000.00716.92
8.0.60.0070.00016.83
8.0.50.0070.00016.87
8.0.30.0090.00617.00
8.0.20.0090.01017.40
8.0.10.0040.00416.81
8.0.00.0050.01216.67
7.4.330.0020.00216.82
7.4.320.0030.00316.49
7.4.300.0000.00716.42
7.4.290.0080.00016.52
7.4.280.0030.00516.52
7.4.270.0050.00216.58
7.4.260.0000.00716.44
7.4.250.0040.00416.50
7.4.240.0000.00716.37
7.4.230.0030.00316.54
7.4.220.0120.00816.61
7.4.210.0090.00616.60
7.4.200.0030.00316.27
7.4.160.0030.01216.54
7.4.150.0180.00017.40
7.4.140.0110.01017.86
7.4.130.0110.00816.58
7.4.120.0090.01216.64
7.4.110.0100.00716.38
7.4.100.0120.00616.37
7.4.90.0060.01216.45
7.4.80.0150.00819.39
7.4.70.0130.00516.49
7.4.60.0120.00416.49
7.4.50.0040.01116.57
7.4.40.0180.00616.46
7.4.30.0000.02216.39
7.4.00.0100.00514.87
7.3.330.0060.00013.38
7.3.320.0000.00813.28
7.3.310.0000.00716.20
7.3.300.0000.00716.35
7.3.290.0080.01016.28
7.3.280.0100.01116.29
7.3.270.0140.00317.40
7.3.260.0110.01116.32
7.3.250.0060.01116.47
7.3.240.0080.01116.44
7.3.230.0070.01016.54
7.3.210.0120.00616.38
7.3.200.0100.00616.39
7.3.190.0130.00716.47
7.3.180.0130.00816.41
7.3.170.0100.00716.33
7.3.160.0060.00916.44
7.3.120.0060.01114.67
7.3.110.0000.01314.84
7.3.100.0120.00214.64
7.3.90.0000.01014.76
7.3.80.0100.00314.74
7.3.70.0080.01014.75
7.3.60.0050.01014.58
7.3.50.0040.00714.59
7.3.40.0030.01214.67
7.3.30.0030.01014.46
7.3.20.0090.00416.62
7.3.10.0060.00616.50
7.3.00.0030.01416.51
7.2.330.0090.00916.52
7.2.320.0090.01116.45
7.2.310.0070.01016.54
7.2.300.0030.01316.23
7.2.290.0100.00716.58
7.2.250.0100.01014.48
7.2.240.0000.01514.91
7.2.230.0040.00514.91
7.2.220.0040.01114.74
7.2.210.0040.00914.78
7.2.200.0060.01114.78
7.2.190.0030.01114.94
7.2.180.0070.00714.75
7.2.170.0040.00915.01
7.2.160.0100.00714.89
7.2.150.0040.01116.64
7.2.140.0040.01516.81
7.2.130.0040.01116.52
7.2.120.0060.01016.81
7.2.110.0120.00316.96
7.2.100.0030.01516.79
7.2.90.0070.00716.75
7.2.80.0070.00716.90
7.2.70.0000.01816.90
7.2.60.0050.00916.88
7.2.50.0040.00716.66
7.2.40.0160.00316.86
7.2.30.0040.01116.88
7.2.20.0060.01316.55
7.2.10.0000.01416.90
7.2.00.0080.00718.07
7.1.330.0100.00515.73
7.1.320.0040.00815.52
7.1.310.0060.00915.61
7.1.300.0080.00515.46
7.1.290.0070.00715.41
7.1.280.0030.00815.43
7.1.270.0030.00815.66
7.1.260.0050.00515.54
7.1.250.0030.01315.69
7.1.200.0070.00715.67
7.1.100.0030.01018.12
7.1.70.0050.00517.00
7.1.60.0120.01219.19
7.1.50.0070.01416.89
7.1.00.0000.06722.27
7.0.200.0490.00714.41
7.0.60.0130.03321.63
7.0.50.0030.08317.86
7.0.40.0070.05720.13
7.0.30.0200.04320.06
7.0.20.0300.05720.10
7.0.10.0100.07320.09
7.0.00.0070.06020.22
5.6.210.0070.07320.60
5.6.200.0030.05018.14
5.6.190.0030.07020.41
5.6.180.0300.07320.47
5.6.170.0330.07020.47
5.6.160.0100.08720.42
5.6.150.0030.07718.18
5.6.140.0070.07718.18
5.6.130.0100.07318.18
5.6.120.0070.08321.10
5.6.110.0100.06320.98
5.6.100.0000.04320.98
5.6.90.0200.05321.10
5.6.80.0070.08720.53
5.5.350.0230.08020.34
5.5.340.0100.08017.98
5.5.330.0070.07320.41
5.5.320.0530.05720.42
5.5.310.0300.07320.32
5.5.300.0030.06718.05
5.5.290.0100.03718.06
5.5.280.0070.04720.77
5.5.270.0070.08020.77
5.5.260.0170.06020.97
5.5.250.0070.08320.78
5.5.240.0030.07720.28

preferences:
63.35 ms | 401 KiB | 5 Q