3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = new stdClass; // handle = 1 $a->test = false; echo('Property $a->test is: '); var_dump($a->test); $b = unserialize('a:1:{i:0;C:3:"GMP":69:{s:1:"1";a:2:{s:4:"test";b:1;i:0;O:12:"DateInterval":1:{s:1:"y";R:2;}}}}'); echo('Property $a->test changed to: '); var_dump($a->test);

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.4.20.0070.01017.99
8.4.10.0090.00019.81
8.3.150.0040.01517.25
8.3.140.0080.00816.69
8.3.130.0050.00316.63
8.3.120.0100.00319.20
8.3.110.0150.00020.94
8.3.100.0060.00324.06
8.3.90.0040.00426.77
8.3.80.0030.00617.97
8.3.70.0110.00416.75
8.3.60.0070.00716.63
8.3.50.0130.00822.82
8.3.40.0070.00718.70
8.3.30.0130.00319.03
8.3.20.0040.00422.16
8.3.10.0070.00020.41
8.3.00.0080.00020.09
8.2.270.0060.00916.84
8.2.260.0080.00017.69
8.2.250.0000.00818.49
8.2.240.0060.00318.52
8.2.230.0060.00322.58
8.2.220.0030.00637.54
8.2.210.0090.00626.77
8.2.200.0030.00718.54
8.2.190.0090.00916.75
8.2.180.0130.01018.52
8.2.170.0090.00922.96
8.2.160.0110.00320.55
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0080.00026.16
8.2.120.0000.00821.02
8.2.110.0030.00622.37
8.2.100.0040.00718.34
8.2.90.0030.00519.09
8.2.80.0060.00317.97
8.2.70.0080.00017.63
8.2.60.0060.00318.05
8.2.50.0000.00918.34
8.2.40.0050.00319.60
8.2.30.0060.00319.34
8.2.20.0000.00718.18
8.2.10.0080.00018.11
8.2.00.0000.00817.76
8.1.310.0040.00416.73
8.1.300.0070.00316.36
8.1.290.0060.00330.84
8.1.280.0140.00025.92
8.1.270.0050.00322.27
8.1.260.0060.00326.35
8.1.250.0040.00428.09
8.1.240.0060.00319.30
8.1.230.0040.00720.43
8.1.220.0060.00317.79
8.1.210.0050.00318.77
8.1.200.0030.00617.60
8.1.190.0060.00317.25
8.1.180.0040.00418.10
8.1.170.0040.00418.68
8.1.160.0070.00019.00
8.1.150.0040.00420.33
8.1.140.0000.00819.59
8.1.130.0030.00317.61
8.1.120.0030.00317.56
8.1.110.0040.00417.50
8.1.100.0000.00717.51
8.1.90.0000.00717.55
8.1.80.0080.00317.57
8.1.70.0000.00717.60
8.1.60.0000.00817.55
8.1.50.0030.00617.63
8.1.40.0000.00717.52
8.1.30.0080.00017.68
8.1.20.0030.00517.66
8.1.10.0070.00017.57
8.1.00.0060.00317.67
8.0.300.0000.00719.34
8.0.290.0000.00717.00
8.0.280.0000.00718.61
8.0.270.0030.00317.41
8.0.260.0030.00317.05
8.0.250.0030.00317.07
8.0.240.0030.00617.04
8.0.230.0000.00717.00
8.0.220.0030.00316.96
8.0.210.0030.00316.97
8.0.200.0070.00017.12
8.0.190.0030.00616.98
8.0.180.0000.00717.13
8.0.170.0000.00816.98
8.0.160.0020.00517.01
8.0.150.0040.00716.95
8.0.140.0000.00816.89
8.0.130.0020.00513.30
8.0.120.0030.00516.98
8.0.110.0040.00416.98
8.0.100.0070.00017.00
8.0.90.0080.00017.05
8.0.80.0000.01516.91
8.0.70.0020.00516.96
8.0.60.0050.00317.03
8.0.50.0040.00417.04
8.0.30.0090.00717.11
8.0.20.0100.00917.40
8.0.10.0030.00516.99
8.0.00.0160.01017.05
7.4.330.0000.00515.55
7.4.320.0000.00616.54
7.4.300.0000.00616.63
7.4.290.0000.00716.64
7.4.280.0040.00416.48
7.4.270.0030.00316.70
7.4.260.0030.00516.51
7.4.250.0000.00716.61
7.4.240.0030.00316.61
7.4.230.0030.00516.48
7.4.220.0100.00716.65
7.4.210.0000.01416.70
7.4.200.0030.00516.59
7.4.150.0030.01317.40
7.4.140.0140.00817.86
7.4.130.0100.00816.65
7.4.120.0110.00916.62
7.4.110.0030.01716.93
7.4.100.0100.01016.64
7.4.90.0170.00316.51
7.4.80.0070.01019.39
7.4.70.0040.01216.48
7.4.60.0070.01316.74
7.4.50.0120.00316.45
7.4.40.0090.01216.64
7.4.30.0120.00916.79
7.4.10.0060.01215.29
7.4.00.0070.01014.95
7.3.330.0060.00013.12
7.3.320.0030.00313.19
7.3.310.0020.00516.21
7.3.300.0000.00716.30
7.3.290.0040.01016.37
7.3.280.0080.00816.35
7.3.270.0150.01217.40
7.3.260.0150.00616.65
7.3.250.0090.00816.48
7.3.240.0090.01116.57
7.3.230.0100.00616.56
7.3.210.0100.00616.49
7.3.200.0070.01316.59
7.3.190.0130.00316.40
7.3.180.0090.00616.57
7.3.170.0160.00316.50
7.3.160.0120.00616.73
7.3.130.0100.01014.95
7.3.120.0090.00815.03
7.3.110.0090.00814.98
7.3.100.0050.01215.06
7.3.90.0100.00515.11
7.3.80.0080.00814.98
7.3.70.0050.00714.98
7.3.60.0070.00814.86
7.3.50.0070.00914.92
7.3.40.0090.00514.87
7.3.30.0040.00914.98
7.3.20.0060.01016.82
7.3.10.0080.00716.79
7.3.00.0080.00716.75
7.2.330.0030.01516.54
7.2.320.0090.00616.95
7.2.310.0080.00816.71
7.2.300.0060.01516.91
7.2.290.0130.00316.91
7.2.260.0100.01015.09
7.2.250.0110.00915.50
7.2.240.0060.01015.22
7.2.230.0050.00915.27
7.2.220.0040.00915.34
7.2.210.0070.00915.29
7.2.200.0090.00515.15
7.2.190.0070.00615.25
7.2.180.0070.00915.27
7.2.170.0060.01015.22
7.2.160.0070.00615.33
7.2.150.0020.01317.00
7.2.140.0080.00617.07
7.2.130.0050.01217.11
7.2.120.0050.00717.20
7.2.110.0060.00517.18
7.2.100.0090.00417.03
7.2.90.0060.00817.12
7.2.80.0070.01017.12
7.2.70.0060.00716.99
7.2.60.0070.00616.95
7.2.50.0040.01317.07
7.2.40.0040.00917.11
7.2.30.0060.00816.98
7.2.20.0040.01117.79
7.2.10.0080.00917.82
7.2.00.0050.01217.79
7.1.330.0060.01015.78
7.1.320.0050.01015.79
7.1.310.0060.00816.02
7.1.300.0030.01015.89
7.1.290.0040.01215.80
7.1.280.0070.00715.72
7.1.270.0040.00815.87
7.1.260.0070.00815.82
7.1.250.0040.00915.97
7.1.240.0020.01216.00
7.1.230.0020.00615.90
7.1.220.0020.00915.97
7.1.210.0050.00715.80
7.1.200.0070.00815.85
7.1.190.0070.00515.55
7.1.180.0060.00715.64
7.1.170.0090.00715.85
7.1.160.0020.01215.88
7.1.150.0040.00615.82
7.1.140.0070.00816.76
7.1.130.0040.01116.70
7.1.120.0070.00816.80
7.1.110.0060.00916.70
7.1.100.0080.00616.90
7.1.90.0060.00916.75
7.1.80.0060.01116.67
7.1.70.0060.00916.54
7.1.60.0120.01121.02
7.1.50.0100.01020.98
7.1.40.0110.01120.81
7.1.30.0120.01020.65
7.1.20.0100.01020.81
7.1.10.0060.00816.27
7.1.00.0050.00816.26
7.0.330.0030.01015.65
7.0.320.0050.00915.49
7.0.310.0110.00515.56
7.0.300.0080.00415.55
7.0.290.0070.00515.46
7.0.280.0020.00915.61
7.0.270.0090.00816.50
7.0.260.0070.00816.54
7.0.250.0070.00816.39
7.0.240.0080.00816.54
7.0.230.0080.00916.38
7.0.220.0040.01016.45
7.0.210.0040.00916.02
7.0.200.0050.00816.29
7.0.190.0090.00516.21
7.0.180.0080.00715.95
7.0.170.0050.00716.11
7.0.160.0050.00816.00
7.0.150.0070.00616.03
7.0.140.0070.00716.05
7.0.130.0050.00916.08
7.0.120.0060.00916.11
7.0.110.0050.00916.02
7.0.100.0070.01016.03
7.0.90.0060.00716.02
7.0.80.0070.00816.13
7.0.70.0050.00615.99
7.0.60.0060.00516.01
7.0.50.0020.00716.02
7.0.40.0060.00614.80
7.0.30.0020.00914.73
7.0.20.0060.00514.70
7.0.10.0060.00514.77
7.0.00.0050.00614.74
5.6.400.0080.00614.62
5.6.390.0020.01014.72
5.6.380.0060.01014.74
5.6.370.0060.01114.74
5.6.360.0020.01214.64
5.6.350.0050.00714.62
5.6.340.0050.00814.40
5.6.330.0040.00714.54
5.6.320.0050.01114.74
5.6.310.0060.01114.31
5.6.300.0050.00914.54
5.6.290.0020.01214.67
5.6.280.0050.00614.55
5.6.270.0080.00714.43
5.6.260.0090.00614.45
5.6.250.0020.01414.45
5.6.240.0050.00914.60
5.6.230.0090.00414.61
5.6.220.0040.00814.48
5.6.210.0040.00714.54
5.6.200.0060.00614.68
5.6.190.0040.00714.68
5.6.180.0040.00814.68
5.6.170.0060.00414.41
5.6.160.0050.00814.45
5.6.150.0050.00714.46
5.6.140.0060.00514.58
5.6.130.0070.00314.68
5.6.120.0020.01014.60
5.6.110.0050.00714.49
5.6.100.0000.01114.27
5.6.90.0070.00514.37
5.6.80.0020.01214.60
5.6.70.0000.01214.42
5.6.60.0060.00414.33
5.6.50.0040.00914.42
5.6.40.0090.00514.43
5.6.30.0050.00714.57
5.6.20.0040.00914.50
5.6.10.0080.00514.38
5.6.00.0050.00614.32

preferences:
120.68 ms | 403 KiB | 5 Q