3v4l.org

run code in 300+ PHP versions simultaneously
<?php class PHPApprentice { private $velocity = ''; public function __construct () { } public function getVelocity () { return $this->velocity; } public function setVelocity ( $value ) { $this->velocity = $value; } } $rafa = (new PHPApprentice ())->setVelocity ( 'jj' ); echo $rafa->getVelocity ();

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.01118.43
8.3.50.0060.01316.79
8.3.40.0110.00418.82
8.3.30.0040.01118.84
8.3.20.0040.00418.91
8.3.10.0090.00020.58
8.3.00.0040.00417.63
8.2.180.0140.00316.63
8.2.170.0070.00722.96
8.2.160.0070.00722.09
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0040.00419.89
8.2.110.0090.00020.87
8.2.100.0060.00617.71
8.2.90.0030.00619.05
8.2.80.0040.00418.04
8.2.70.0070.00317.63
8.2.60.0080.00017.93
8.2.50.0040.00418.07
8.2.40.0040.00418.22
8.2.30.0040.00417.90
8.2.20.0030.00517.66
8.2.10.0000.00717.55
8.2.00.0030.00517.68
8.1.280.0100.01025.92
8.1.270.0070.00723.99
8.1.260.0000.00826.35
8.1.250.0030.00628.09
8.1.240.0040.00422.54
8.1.230.0030.00720.89
8.1.220.0000.00818.77
8.1.210.0120.00318.89
8.1.200.0040.00417.25
8.1.190.0080.00017.39
8.1.180.0030.00618.10
8.1.170.0040.00418.76
8.1.160.0030.00518.82
8.1.150.0040.00418.45
8.1.140.0040.00417.44
8.1.130.0030.00317.81
8.1.120.0040.00417.44
8.1.110.0000.00817.45
8.1.100.0000.00717.39
8.1.90.0040.00417.36
8.1.80.0000.00717.41
8.1.70.0050.00317.32
8.1.60.0030.00717.59
8.1.50.0040.00417.49
8.1.40.0050.00317.52
8.1.30.0000.00817.54
8.1.20.0000.00817.63
8.1.10.0080.00017.61
8.1.00.0040.00417.43
8.0.300.0070.00419.81
8.0.290.0000.00716.75
8.0.280.0030.00318.38
8.0.270.0040.00417.10
8.0.260.0030.00316.78
8.0.250.0080.00017.00
8.0.240.0040.00416.94
8.0.230.0090.00016.99
8.0.220.0040.00416.84
8.0.210.0000.00716.81
8.0.200.0000.00716.89
8.0.190.0000.00816.93
8.0.180.0030.00316.80
8.0.170.0080.00016.87
8.0.160.0070.00016.80
8.0.150.0060.00316.85
8.0.140.0030.00916.89
8.0.130.0050.00013.36
8.0.120.0000.00816.86
8.0.110.0060.00316.84
8.0.100.0040.00416.78
8.0.90.0000.00716.91
8.0.80.0030.01216.85
8.0.70.0000.00716.92
8.0.60.0030.00317.00
8.0.50.0040.00416.89
8.0.30.0110.00917.02
8.0.20.0140.00917.07
8.0.10.0040.00416.91
8.0.00.0090.00916.57
7.4.330.0020.00214.82
7.4.320.0000.00616.43
7.4.300.0030.00316.41
7.4.290.0030.00316.50
7.4.280.0000.01016.50
7.4.270.0000.00716.53
7.4.260.0050.00013.28
7.4.250.0000.00816.57
7.4.240.0050.00216.52
7.4.230.0030.00316.59
7.4.220.0160.00416.56
7.4.210.0090.00516.62
7.4.200.0030.00316.47
7.4.190.0000.00816.40
7.4.160.0070.01116.54
7.4.150.0140.00317.07
7.4.140.0110.00617.23
7.4.130.0070.01016.46
7.4.120.0090.00916.53
7.4.110.0100.01316.39
7.4.100.0100.01016.53
7.4.90.0080.01016.53
7.4.80.0120.00818.80
7.4.70.0060.01616.45
7.4.60.0100.00716.46
7.4.50.0000.00816.50
7.4.40.0030.01022.27
7.4.30.0110.00716.50
7.4.00.0000.01514.90
7.3.330.0030.00313.37
7.3.320.0030.00313.30
7.3.310.0030.00316.34
7.3.300.0000.00716.35
7.3.290.0110.00616.37
7.3.280.0080.00816.32
7.3.270.0080.00917.07
7.3.260.0110.01018.24
7.3.250.0090.00816.32
7.3.240.0000.01816.36
7.3.230.0150.00316.41
7.3.210.0120.00816.63
7.3.200.0150.00619.39
7.3.190.0180.00316.48
7.3.180.0030.01316.56
7.3.170.0080.00816.50
7.3.160.0110.00616.41
7.3.120.0070.01014.91
7.3.110.0000.01314.80
7.3.100.0040.01114.85
7.3.90.0060.00614.82
7.3.80.0030.00714.66
7.3.70.0030.01214.92
7.3.60.0080.00314.73
7.3.50.0070.00714.85
7.3.40.0070.00414.95
7.3.30.0070.01114.89
7.3.20.0000.01216.53
7.3.10.0140.00016.64
7.3.00.0030.00916.46
7.2.330.0030.01416.64
7.2.320.0030.01516.44
7.2.310.0100.01016.57
7.2.300.0030.01416.46
7.2.290.0110.00716.70
7.2.240.0150.00314.92
7.2.230.0060.00614.84
7.2.220.0060.00914.87
7.2.210.0000.01715.09
7.2.200.0000.01314.94
7.2.190.0140.00014.93
7.2.180.0120.00615.01
7.2.170.0030.01414.87
7.2.160.0040.01414.79
7.2.150.0030.01416.57
7.2.140.0060.00916.35
7.2.130.0030.00916.66
7.2.120.0060.01016.85
7.2.110.0030.01016.82
7.2.100.0110.00716.88
7.2.90.0100.00716.64
7.2.80.0060.00616.72
7.2.70.0090.00616.59
7.2.60.0050.01016.93
7.2.50.0030.00617.00
7.2.40.0070.00716.86
7.2.30.0030.01316.86
7.2.20.0100.00716.95
7.2.10.0030.00716.84
7.2.00.0070.01016.95
7.1.330.0060.00615.62
7.1.320.0110.00315.76
7.1.310.0040.01215.47
7.1.300.0030.01315.65
7.1.290.0110.00415.66
7.1.280.0070.00715.61
7.1.270.0080.00815.71
7.1.260.0070.00715.77
7.1.250.0110.00415.73
7.1.200.0060.00615.50
7.1.70.0050.00317.07
7.1.60.0140.01019.40
7.1.50.0110.00016.88
7.1.00.0070.07322.43
7.0.200.0120.00016.41
7.0.140.0070.06721.98
7.0.60.0070.06019.92
7.0.50.0070.04017.86
7.0.40.0100.05020.14
7.0.30.0470.06720.21
7.0.20.0230.08020.32
7.0.10.0130.03320.15
7.0.00.0070.04320.24
5.6.280.0000.07721.14
5.6.210.0000.08720.53
5.6.200.0070.07718.16
5.6.190.0070.04020.46
5.6.180.3870.04720.54
5.6.170.0330.07320.55
5.6.160.0030.05020.50
5.6.150.0030.04018.27
5.6.140.0070.03718.24
5.6.130.0030.07018.17
5.6.120.0130.05021.15
5.6.110.0030.05721.04
5.6.100.0070.06320.88
5.6.90.0130.07721.02
5.6.80.0030.08720.51
5.5.350.0200.04320.33
5.5.340.0070.06317.96
5.5.330.0030.08020.37
5.5.320.0270.06020.35
5.5.310.0430.05720.38
5.5.300.0100.06718.01
5.5.290.0000.04318.07
5.5.280.0130.08020.87
5.5.270.0030.08320.96
5.5.260.0170.07320.86
5.5.250.0100.04020.79
5.5.240.0030.07320.27
5.4.450.0070.08019.20
5.4.440.0070.05019.41
5.4.430.0070.05019.46
5.4.420.0200.06719.32
5.4.410.0130.07019.06
5.4.400.0100.03018.87
5.4.390.0000.04719.24
5.4.380.0030.07319.15
5.4.370.0030.04019.12
5.4.360.0070.03718.92
5.4.350.0000.04719.09
5.4.340.0170.06719.24
5.4.320.0030.05319.08
5.4.310.0100.03019.20
5.4.300.0030.03719.23
5.4.290.0100.03019.24
5.4.280.0030.04018.87
5.4.270.0000.04018.84
5.4.260.0070.03319.22
5.4.250.0070.07018.85
5.4.240.0000.04318.84
5.4.230.0030.04018.96
5.4.220.0000.06019.14
5.4.210.0000.04318.84
5.4.200.0000.04019.00
5.4.190.0030.04019.15
5.4.180.0030.04719.13
5.4.170.0100.04019.23
5.4.160.0000.04019.25
5.4.150.0070.03318.83
5.4.140.0030.04016.29
5.4.130.0070.03316.24
5.4.120.0000.04016.32
5.4.110.0100.03016.38
5.4.100.0030.03716.45
5.4.90.0030.03316.43
5.4.80.0030.03316.45
5.4.70.0070.03016.52
5.4.60.0000.04016.43
5.4.50.0000.03716.36
5.4.40.0000.04016.65
5.4.30.0030.03316.48
5.4.20.0030.03316.43
5.4.10.0000.03716.64
5.4.00.0030.03315.80
5.3.290.0000.04014.66
5.3.280.0030.04014.74
5.3.270.0100.06314.66
5.3.260.0000.04014.65
5.3.250.0000.05314.66
5.3.240.0000.04014.65
5.3.230.0070.03714.61
5.3.220.0030.04014.61
5.3.210.0030.04014.58
5.3.200.0100.03014.59
5.3.190.0030.04014.72
5.3.180.0000.04014.57
5.3.170.0000.03714.59
5.3.160.0030.03714.59
5.3.150.0030.03714.57
5.3.140.0070.03314.57
5.3.130.0100.03014.71
5.3.120.0000.04014.46
5.3.110.0000.04714.47
5.3.100.0100.03014.04
5.3.90.0070.03714.03
5.3.80.0070.03314.08
5.3.70.0000.04014.02
5.3.60.0070.03014.15
5.3.50.0100.02714.02
5.3.40.0070.04014.11
5.3.30.0130.06313.95
5.3.20.0070.03313.84
5.3.10.0070.05013.81
5.3.00.0070.07013.68
5.2.170.0030.02711.20
5.2.160.0030.02711.22
5.2.150.0070.05311.16
5.2.140.0030.06011.07
5.2.130.0030.04311.17
5.2.120.0100.04711.03
5.2.110.0070.04711.18
5.2.100.0030.03311.26
5.2.90.0070.05711.14
5.2.80.0130.05311.05
5.2.70.0030.06311.14
5.2.60.0170.04311.05
5.2.50.0070.04011.02
5.2.40.0070.02710.97
5.2.30.0070.06010.92
5.2.20.0030.06310.97
5.2.10.0070.03711.01
5.2.00.0130.02710.71
5.1.60.0070.02310.07
5.1.50.0030.06010.02
5.1.40.0100.04710.00
5.1.30.0030.06010.29
5.1.20.0070.04710.41
5.1.10.0030.05010.10
5.1.00.0030.05310.05
5.0.50.0030.0408.71
5.0.40.0070.0238.47
5.0.30.0000.0478.27
5.0.20.0030.0438.20
5.0.10.0030.0208.19
5.0.00.0000.0378.17
4.4.90.0030.0377.82
4.4.80.0070.0307.82
4.4.70.0000.0377.82
4.4.60.0030.0177.82
4.4.50.0030.0207.82
4.4.40.0070.0507.82
4.4.30.0000.0377.82
4.4.20.0030.0237.82
4.4.10.0030.0307.82
4.4.00.0030.0377.82
4.3.110.0000.0207.82
4.3.100.0030.0207.82
4.3.90.0000.0237.82
4.3.80.0000.0277.82
4.3.70.0000.0177.82
4.3.60.0000.0237.82
4.3.50.0100.0307.82
4.3.40.0000.0437.82
4.3.30.0030.0207.82
4.3.20.0000.0337.82
4.3.10.0000.0207.82
4.3.00.0030.0237.82

preferences:
35.75 ms | 401 KiB | 5 Q