3v4l.org

run code in 500+ PHP versions simultaneously
<?php class PromoteConstructorProperty { public function __construct( public string $var ) { } } $bool = class_exists(PromoteConstructorProperty::class);

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.5.90.0080.00616.71
8.5.80.0100.00516.70
8.5.70.0110.00616.59
8.5.60.0100.00816.59
8.5.50.0090.00616.58
8.5.40.0080.00216.39
8.5.30.0080.00517.94
8.5.20.0080.00517.99
8.5.10.0080.00816.48
8.5.00.0090.00718.24
8.4.240.0130.00721.29
8.4.230.0090.00719.38
8.4.220.0120.00619.42
8.4.210.0110.00720.28
8.4.200.0090.00419.57
8.4.190.0080.00619.58
8.4.180.0110.01019.59
8.4.170.0090.00620.71
8.4.160.0160.00522.61
8.4.150.0080.00617.75
8.4.140.0080.00917.47
8.4.130.0090.00817.67
8.4.120.0130.00719.07
8.4.110.0100.00618.27
8.4.100.0100.00917.69
8.4.90.0130.00718.08
8.4.80.0120.00717.56
8.4.70.0110.00617.73
8.4.60.0100.00718.40
8.4.50.0130.00818.41
8.4.40.0160.00318.46
8.4.30.0110.00818.84
8.4.20.0080.00318.24
8.4.10.0100.00619.95
8.3.330.0120.00518.34
8.3.320.0070.00918.38
8.3.310.0070.00818.25
8.3.300.0120.00618.37
8.3.290.0100.00519.62
8.3.280.0100.00918.22
8.3.270.0060.00916.38
8.3.260.0100.00516.42
8.3.250.0070.00817.51
8.3.240.0100.00517.28
8.3.230.0080.00716.45
8.3.220.0100.00516.93
8.3.210.0080.00516.65
8.3.200.0070.00316.69
8.3.190.0070.00816.79
8.3.180.0060.00716.58
8.3.170.0080.00717.55
8.3.160.0110.00417.34
8.3.150.0110.00518.58
8.3.140.0050.00816.33
8.3.130.0030.00817.51
8.3.120.0060.00718.63
8.3.110.0080.00218.80
8.3.100.0060.00520.28
8.3.90.0060.00421.55
8.3.80.0110.00417.99
8.3.70.0090.00616.49
8.3.60.0080.00418.33
8.3.50.0120.00418.18
8.3.40.0090.00719.07
8.3.30.0080.00518.12
8.3.20.0050.00420.99
8.3.10.0060.00322.21
8.3.00.0070.00321.91
8.2.330.0080.00517.80
8.2.320.0090.00818.78
8.2.310.0090.00817.86
8.2.300.0150.00719.82
8.2.290.0130.00718.31
8.2.280.0180.01017.36
8.2.270.0220.00416.92
8.2.260.0150.00918.43
8.2.250.0130.00616.69
8.2.240.0160.00516.80
8.2.230.0110.00119.59
8.2.220.0090.00626.92
8.2.210.0120.00422.42
8.2.200.0110.00518.46
8.2.190.0100.00817.43
8.2.180.0110.00521.17
8.2.170.0150.00518.24
8.2.160.0140.00520.45
8.2.150.0080.00421.73
8.2.140.0110.00121.19
8.2.130.0090.00421.88
8.2.120.0060.00622.08
8.2.110.0090.00319.03
8.2.100.0120.00118.27
8.2.90.0140.00517.74
8.2.80.0120.00519.37
8.2.70.0120.00419.54
8.2.60.0070.00519.38
8.2.50.0120.00417.57
8.2.40.0140.00217.69
8.2.30.0150.00319.37
8.2.20.0120.01017.43
8.2.10.0160.00417.54
8.2.00.0200.00817.74
8.1.340.0170.00717.36
8.1.330.0100.00419.46
8.1.320.0110.00716.00
8.1.310.0080.00416.35
8.1.300.0110.00218.02
8.1.290.0100.00323.33
8.1.280.0110.00621.88
8.1.270.0090.00320.82
8.1.260.0080.00422.86
8.1.250.0060.00522.75
8.1.240.0100.00417.98
8.1.230.0080.00617.99
8.1.220.0130.00417.36
8.1.210.0100.00117.40
8.1.200.0120.00217.42
8.1.190.0100.00617.41
8.1.180.0080.00417.32
8.1.170.0060.00617.46
8.1.160.0070.00519.41
8.1.150.0060.00619.44
8.1.140.0060.00617.51
8.1.130.0020.01017.46
8.1.120.0100.00417.55
8.1.110.0090.00417.71
8.1.100.0090.00418.00
8.1.90.0100.00217.70
8.1.80.0130.00317.38
8.1.70.0130.00319.39
8.1.60.0140.01017.71
8.1.50.0190.00817.70
8.1.40.0090.00317.83
8.1.30.0160.00817.63
8.1.20.0090.00417.84
8.1.10.0090.00319.42
8.1.00.0090.00317.64
8.0.300.0130.00716.86
8.0.290.0160.00616.83
8.0.280.0110.00616.83
8.0.270.0150.00716.95
8.0.260.0090.00716.82
8.0.250.0100.00516.94
8.0.240.0070.00218.84
8.0.230.0070.00316.88
8.0.220.0110.00216.87
8.0.210.0190.00916.72
8.0.200.0250.00916.84
8.0.190.0180.00916.94
8.0.180.0190.00616.67
8.0.170.0100.00516.81
8.0.160.0140.00816.95
8.0.150.0230.00817.04
8.0.140.0150.00716.81
8.0.130.0290.00516.82
8.0.120.0160.00416.75
8.0.110.0090.01118.70
8.0.100.0060.00416.83
8.0.90.0100.00518.75
8.0.80.0030.00616.89
8.0.70.0130.00818.71
8.0.60.0130.00518.67
8.0.50.0070.00416.86
8.0.30.0120.00816.83
8.0.20.0090.00916.86
8.0.10.0090.00816.94
8.0.00.0060.01217.37
7.4.330.0050.00518.52
7.4.320.0070.00418.31
7.4.300.0080.00116.59
7.4.290.0050.00418.25
7.4.280.0060.00316.50
7.4.270.0070.00318.46
7.4.260.0080.00518.29
7.4.250.0070.00216.54
7.4.240.0110.00618.21
7.4.230.0080.00518.22
7.4.220.0150.00818.36
7.4.210.0080.00118.32
7.4.200.0050.00416.35
7.4.190.0040.00516.51
7.4.180.0080.00118.34
7.4.160.0070.00916.41
7.4.150.0100.00716.33
7.4.140.0100.00616.29
7.4.130.0080.00816.19
7.4.120.0090.00816.57
7.4.110.0080.00916.25
7.4.100.0080.00816.67
7.4.90.0080.00816.58
7.4.80.0090.00716.62
7.4.70.0060.00916.25
7.4.60.0090.00616.22
7.4.50.0090.00716.60
7.4.40.0100.00716.57
7.4.30.0100.00716.70
7.4.20.0080.00816.61
7.4.10.0090.00816.26
7.4.00.0070.00916.34
7.3.330.0040.00418.24
7.3.320.0050.00316.32
7.3.310.0060.00216.32
7.3.300.0040.00418.24
7.3.290.0050.00416.38
7.3.280.0050.00318.13
7.3.270.0090.00716.56
7.3.260.0090.00716.59
7.3.250.0070.01016.22
7.3.240.0100.00816.56
7.3.230.0060.00916.59
7.3.220.0090.00616.54
7.3.210.0080.00916.53
7.3.200.0060.01016.11
7.3.190.0090.00616.14
7.3.180.0120.00316.52
7.3.170.0080.00716.12
7.3.160.0080.00816.17
7.3.150.0140.00416.10
7.3.140.0070.00916.52
7.3.130.0080.00816.15
7.3.120.0090.00816.11
7.3.110.0090.00716.07
7.3.100.0070.00916.06
7.3.90.0080.00716.37
7.3.80.0110.00516.48
7.3.70.0080.00916.23
7.3.60.0080.00816.60
7.3.50.0080.00816.59
7.3.40.0070.00916.66
7.3.30.0110.00416.65
7.3.20.0290.00916.60
7.3.10.0100.00616.55
7.3.00.0070.00916.56

preferences:
47.13 ms | 1440 KiB | 5 Q