3v4l.org

run code in 300+ PHP versions simultaneously
<?php $o = new stdClass; $o->text = "test"; $o2 = new stdClass; $o2->text = "test2"; $o3 = new stdClass; $o3->text = "test3"; var_dump($o); print_r($o);

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.0150.00418.55
8.3.50.0120.00316.38
8.3.40.0140.00018.67
8.3.30.0140.00018.59
8.3.20.0060.00320.10
8.3.10.0070.00023.70
8.3.00.0090.00019.65
8.2.180.0100.01016.38
8.2.170.0140.00022.96
8.2.160.0090.00618.91
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0060.00619.30
8.2.120.0000.00726.35
8.2.110.0060.00320.52
8.2.100.0120.00017.66
8.2.90.0000.00819.09
8.2.80.0060.00317.97
8.2.70.0060.00317.38
8.2.60.0030.00617.80
8.2.50.0000.00818.10
8.2.40.0040.00420.42
8.2.30.0040.00419.07
8.2.20.0070.00018.00
8.2.10.0000.00717.87
8.2.00.0040.00417.87
8.1.280.0090.00625.92
8.1.270.0050.00221.96
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0030.00617.66
8.1.230.0040.00819.10
8.1.220.0060.00317.74
8.1.210.0060.00318.77
8.1.200.0090.00017.35
8.1.190.0000.00817.23
8.1.180.0040.00418.10
8.1.170.0050.00318.51
8.1.160.0050.00319.01
8.1.150.0000.00818.70
8.1.140.0050.00519.51
8.1.130.0030.00418.83
8.1.120.0000.00717.30
8.1.110.0030.00517.36
8.1.100.0050.00917.29
8.1.90.0040.00417.29
8.1.80.0030.00517.38
8.1.70.0050.00317.35
8.1.60.0030.00617.56
8.1.50.0000.00817.48
8.1.40.0000.01117.45
8.1.30.0080.00017.42
8.1.20.0070.00017.52
8.1.10.0040.00417.35
8.1.00.0000.00717.45
8.0.300.0040.00418.77
8.0.290.0060.00316.63
8.0.280.0030.00318.29
8.0.270.0080.00017.19
8.0.260.0060.00016.66
8.0.250.0070.00016.83
8.0.240.0030.00316.86
8.0.230.0030.00316.88
8.0.220.0060.00016.79
8.0.210.0040.00416.84
8.0.200.0030.00316.88
8.0.190.0090.00016.87
8.0.180.0040.00416.84
8.0.170.0000.00716.74
8.0.160.0030.00316.89
8.0.150.0000.00716.80
8.0.140.0000.00816.72
8.0.130.0000.00513.26
8.0.120.0000.00916.80
8.0.110.0050.00216.71
8.0.100.0030.00616.69
8.0.90.0050.00316.89
8.0.80.0090.00616.85
8.0.70.0000.00816.77
8.0.60.0000.00716.86
8.0.50.0000.00816.85
8.0.30.0120.00617.05
8.0.20.0100.01117.40
8.0.10.0070.00016.98
8.0.00.0090.00916.67
7.4.330.0020.00215.55
7.4.320.0030.00316.43
7.4.300.0060.00016.42
7.4.290.0080.00316.43
7.4.280.0040.00416.38
7.4.270.0040.00416.39
7.4.260.0000.00716.41
7.4.250.0000.00816.37
7.4.240.0000.00716.53
7.4.230.0050.00216.41
7.4.220.0110.00716.39
7.4.210.0090.00616.52
7.4.200.0070.00016.24
7.4.160.0110.00516.42
7.4.150.0120.00617.40
7.4.140.0120.00717.86
7.4.130.0120.00916.41
7.4.120.0140.00716.44
7.4.110.0040.01316.49
7.4.100.0160.00316.52
7.4.90.0130.00716.53
7.4.80.0130.00419.39
7.4.70.0120.00916.54
7.4.60.0050.01016.51
7.4.50.0030.01016.28
7.4.40.0150.00616.34
7.4.30.0030.01316.39
7.4.00.0070.00914.93
7.3.330.0030.00313.04
7.3.320.0020.00213.13
7.3.310.0000.00716.05
7.3.300.0030.00316.18
7.3.290.0070.00716.25
7.3.280.0090.00716.20
7.3.270.0100.00717.40
7.3.260.0100.00816.33
7.3.250.0060.01116.52
7.3.240.0110.00516.40
7.3.230.0090.00916.54
7.3.210.0120.00616.55
7.3.200.0170.00316.14
7.3.190.0080.00916.42
7.3.180.0090.00616.27
7.3.170.0110.00416.58
7.3.160.0030.01416.38
7.3.120.0000.01714.59
7.3.110.0040.01414.80
7.3.100.0060.00914.75
7.3.90.0040.00714.96
7.3.80.0080.00814.57
7.3.70.0120.00014.80
7.3.60.0120.00314.91
7.3.50.0040.01014.95
7.3.40.0030.01014.84
7.3.30.0060.00914.84
7.3.20.0110.00016.61
7.3.10.0100.00516.51
7.3.00.0120.00316.39
7.2.330.0130.00716.40
7.2.320.0130.00316.41
7.2.310.0110.01116.47
7.2.300.0040.01216.40
7.2.290.0090.00916.68
7.2.250.0130.00715.02
7.2.240.0130.00614.85
7.2.230.0040.01015.17
7.2.220.0000.01414.62
7.2.210.0030.01314.93
7.2.200.0030.00914.76
7.2.190.0110.00414.91
7.2.180.0030.01614.99
7.2.170.0030.01514.69
7.2.160.0060.00915.11
7.2.150.0030.01016.53
7.2.140.0100.01016.67
7.2.130.0100.00716.53
7.2.120.0110.00816.76
7.2.110.0030.01216.67
7.2.100.0030.01016.69
7.2.90.0060.00816.70
7.2.80.0010.01016.88
7.2.70.0020.01316.75
7.2.60.0080.00716.80
7.2.50.0050.01116.70
7.2.40.0080.00416.78
7.2.30.0070.00616.77
7.2.20.0060.00516.93
7.2.10.0050.00816.88
7.2.00.0000.00916.87
7.1.330.0030.01415.70
7.1.320.0060.01215.64
7.1.310.0070.01015.96
7.1.300.0030.01315.55
7.1.290.0000.01315.68
7.1.280.0030.01015.89
7.1.270.0040.01115.73
7.1.260.0120.00315.60
7.1.250.0070.00715.75
7.1.240.0030.01015.70
7.1.230.0030.00515.67
7.1.220.0030.01315.77
7.1.210.0040.00816.00
7.1.200.0050.00715.83
7.1.190.0100.00715.80
7.1.180.0000.01715.82
7.1.170.0040.00715.57
7.1.160.0060.00615.69
7.1.150.0040.00815.65
7.1.140.0070.00715.45
7.1.130.0100.00615.73
7.1.120.0070.00715.82
7.1.110.0090.00615.54
7.1.100.0080.00616.78
7.1.90.0060.00315.50
7.1.80.0110.00415.86
7.1.70.0060.01216.33
7.1.60.0140.01325.24
7.1.50.0230.00525.23
7.1.40.0140.01125.07
7.1.30.0140.01425.00
7.1.20.0200.01125.07
7.1.10.0070.00816.30
7.1.00.0050.01116.29
7.0.330.0000.01015.42
7.0.320.0040.00815.38
7.0.310.0000.01115.21
7.0.300.0100.00315.24
7.0.290.0150.00015.49
7.0.280.0040.00714.99
7.0.270.0080.00415.31
7.0.260.0100.00415.20
7.0.250.0000.01315.39
7.0.240.0060.00615.17
7.0.230.0000.01515.42
7.0.220.0060.00615.38
7.0.210.0110.00415.46
7.0.200.0050.01016.10
7.0.190.0070.01215.76
7.0.180.0020.01415.62
7.0.170.0030.01115.71
7.0.160.0060.01015.89
7.0.150.0060.00915.68
7.0.140.0070.00915.65
7.0.130.0110.00515.92
7.0.120.0110.00815.92
7.0.110.0030.01415.71
7.0.100.0050.01415.73
7.0.90.0130.00815.79
7.0.80.0100.00915.86
7.0.70.0060.01115.85
7.0.60.0060.01415.76
7.0.50.0070.01315.80
7.0.40.0090.01015.00
7.0.30.0060.01114.77
7.0.20.0070.00814.86
7.0.10.0080.01114.76
7.0.00.0080.00814.85
5.6.400.0090.00314.38
5.6.390.0070.00714.35
5.6.380.0030.01214.02
5.6.370.0100.00614.01
5.6.360.0030.00914.73
5.6.350.0030.01014.37
5.6.340.0070.01014.32
5.6.330.0030.00714.64
5.6.320.0030.01214.47
5.6.310.0040.00814.07
5.6.300.0030.00614.18
5.6.290.0030.01014.21
5.6.280.0050.00314.19
5.6.270.0030.00914.31
5.6.260.0030.00614.58
5.6.250.0000.01514.30
5.6.240.0070.00714.25
5.6.230.0110.00314.09
5.6.220.0120.00414.04
5.6.210.0080.00814.37
5.6.200.0100.00314.65
5.6.190.0090.00014.69
5.6.180.0060.00914.40
5.6.170.0040.01114.61
5.6.160.0070.00714.32
5.6.150.0000.01014.17
5.6.140.0030.00714.42
5.6.130.0040.01114.36
5.6.120.0060.00914.13
5.6.110.0060.00914.00
5.6.100.0070.00714.11
5.6.90.0080.00414.03
5.6.80.0040.01114.34
5.6.70.0030.01014.15
5.6.60.0000.00814.43
5.6.50.0070.00414.15
5.6.40.0060.00314.26
5.6.30.0090.00614.18
5.6.20.0030.00914.29
5.6.10.0120.00314.21
5.6.00.0070.00714.25

preferences:
74.55 ms | 401 KiB | 5 Q