3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo (string)stdClass(array()); var_dump(empty(stdClass(array())));

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.40.0110.00418.77
8.3.30.0070.00718.71
8.3.20.0040.00420.37
8.3.10.0080.00023.65
8.3.00.0030.00619.25
8.2.170.0070.00722.96
8.2.160.0100.00320.39
8.2.150.0070.00024.18
8.2.140.0050.00224.66
8.2.130.0050.00319.19
8.2.120.0040.00426.35
8.2.110.0040.00418.97
8.2.100.0070.00418.09
8.2.90.0080.00019.14
8.2.80.0050.00317.97
8.2.70.0000.00817.50
8.2.60.0000.00717.93
8.2.50.0060.00318.10
8.2.40.0000.00720.59
8.2.30.0000.00820.98
8.2.20.0040.00417.86
8.2.10.0050.00217.86
8.2.00.0050.00318.04
8.1.270.0040.00422.18
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0040.00423.82
8.1.230.0060.00619.16
8.1.220.0000.00817.74
8.1.210.0080.00018.77
8.1.200.0040.00417.35
8.1.190.0060.00317.23
8.1.180.0080.00018.10
8.1.170.0040.00418.77
8.1.160.0000.00718.95
8.1.150.0000.00820.59
8.1.140.0040.00419.44
8.1.130.0000.00818.74
8.1.120.0040.00417.26
8.1.110.0070.00017.23
8.1.100.0000.00817.34
8.1.90.0000.00717.32
8.1.80.0030.00417.36
8.1.70.0000.00717.32
8.1.60.0000.00717.34
8.1.50.0020.00517.40
8.1.40.0040.00417.38
8.1.30.0080.00017.43
8.1.20.0000.00817.54
8.1.10.0060.00317.50
8.1.00.0040.00417.32
8.0.300.0040.00418.77
8.0.290.0050.00316.75
8.0.280.0040.00418.38
8.0.270.0030.00317.23
8.0.260.0070.00016.74
8.0.250.0030.00316.90
8.0.240.0040.00416.97
8.0.230.0030.00316.93
8.0.220.0000.00716.91
8.0.210.0070.00016.90
8.0.200.0030.00316.90
8.0.190.0040.00416.83
8.0.180.0070.00016.79
8.0.170.0030.00516.88
8.0.160.0060.00316.84
8.0.150.0000.00716.79
8.0.140.0000.00716.82
8.0.130.0000.00613.31
8.0.120.0000.00816.89
8.0.110.0030.00316.77
8.0.100.0070.00016.84
8.0.90.0040.00416.75
8.0.80.0100.00716.90
8.0.70.0000.00716.82
8.0.60.0040.00416.96
8.0.50.0000.00816.90
8.0.30.0080.01117.12
8.0.20.0100.00917.40
8.0.10.0030.00516.75
8.0.00.0090.00916.79
7.4.330.0060.00015.55
7.4.320.0030.00316.38
7.4.300.0000.00616.44
7.4.290.0070.00016.37
7.4.280.0070.00016.28
7.4.270.0000.00716.52
7.4.260.0060.00316.42
7.4.250.0000.00716.50
7.4.240.0040.00416.52
7.4.230.0000.00716.45
7.4.220.0110.00716.63
7.4.210.0090.00616.42
7.4.200.0000.00716.50
7.4.160.0080.00816.51
7.4.150.0080.01117.40
7.4.140.0120.00817.86
7.4.130.0150.00616.29
7.4.120.0100.01016.49
7.4.110.0080.00816.36
7.4.100.0130.00316.36
7.4.90.0150.00316.54
7.4.80.0070.01119.39
7.4.70.0050.01116.33
7.4.60.0080.00816.33
7.4.50.0100.00716.54
7.4.40.0090.00616.40
7.4.30.0100.00716.39
7.4.00.0110.00714.63
7.3.330.0050.00012.99
7.3.320.0000.00513.05
7.3.310.0040.00416.25
7.3.300.0040.00416.28
7.3.290.0050.01016.22
7.3.280.0080.00916.23
7.3.270.0110.00717.40
7.3.260.0130.00316.38
7.3.250.0110.00816.38
7.3.240.0070.01016.24
7.3.230.0060.01116.33
7.3.210.0110.00616.46
7.3.200.0130.00316.49
7.3.190.0070.01016.39
7.3.180.0100.00516.34
7.3.170.0090.00916.35
7.3.160.0030.01316.23
7.3.10.0060.00716.38
7.3.00.0050.00516.60
7.2.330.0150.00316.58
7.2.320.0120.00916.61
7.2.310.0110.00716.68
7.2.300.0090.00916.41
7.2.290.0090.00916.47
7.2.130.0130.00316.75
7.2.120.0050.00916.77
7.2.110.0060.00616.46
7.2.100.0070.00716.56
7.2.90.0050.01016.75
7.2.80.0070.01116.62
7.2.70.0020.01316.41
7.2.60.0350.00616.20
7.2.50.0150.00316.58
7.2.40.0120.00416.79
7.2.30.0060.01216.66
7.2.20.0080.00516.58
7.2.10.0060.00816.58
7.2.00.0040.00817.42
7.1.250.0050.00715.44
7.1.100.0000.01417.74
7.1.70.0110.01116.94
7.1.60.0610.02234.82
7.1.50.0680.01332.99
7.1.40.0520.01334.16
7.1.30.0400.00934.11
7.1.20.0520.01632.52
7.1.10.0350.01414.50
7.1.00.0090.01116.21
7.0.200.0390.01214.91
7.0.190.0330.01114.80
7.0.180.0150.00716.11
7.0.170.0370.01514.08
7.0.160.0320.01314.43
7.0.150.0380.01014.32
7.0.140.0060.01316.29
7.0.130.0030.01716.33
7.0.120.0090.00916.46
7.0.110.0350.01014.23
7.0.100.0300.01414.43
7.0.90.0300.01314.38
7.0.80.0090.01116.24
7.0.70.0060.01516.11
7.0.60.0070.01416.02
7.0.50.0300.00414.32
7.0.40.0030.01516.35
7.0.30.0040.01216.09
7.0.20.0160.01314.49
7.0.10.0290.01114.61
7.0.00.0310.00414.50

preferences:
39.78 ms | 400 KiB | 5 Q