3v4l.org

run code in 300+ PHP versions simultaneously
<?php class User{ public $age = '123'; public $name = '123'; } $serialize = serialize(new User); var_dump($serialize);

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.0090.00916.50
8.3.50.0120.00616.49
8.3.40.0140.00718.45
8.3.30.0140.00018.77
8.3.20.0110.00718.66
8.3.10.0000.00919.88
8.3.00.0000.00820.87
8.2.180.0120.00918.41
8.2.170.0150.00322.96
8.2.160.0040.01219.04
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0000.00721.04
8.2.120.0000.00826.35
8.2.110.0040.00420.97
8.2.100.0080.00417.72
8.2.90.0080.00019.04
8.2.80.0100.00017.97
8.2.70.0000.00817.50
8.2.60.0000.00817.80
8.2.50.0040.00418.10
8.2.40.0070.00020.60
8.2.30.0000.00720.69
8.2.20.0040.00417.58
8.2.10.0050.00318.03
8.2.00.0050.00217.87
8.1.280.0120.00925.92
8.1.270.0030.00523.92
8.1.260.0070.00728.09
8.1.250.0000.00728.09
8.1.240.0100.00017.53
8.1.230.0060.00617.66
8.1.220.0030.00617.74
8.1.210.0040.00418.77
8.1.200.0060.00317.36
8.1.190.0000.00817.23
8.1.180.0000.00818.10
8.1.170.0000.00818.50
8.1.160.0040.00418.96
8.1.150.0080.00018.80
8.1.140.0040.00419.47
8.1.130.0070.00017.68
8.1.120.0030.00317.31
8.1.110.0030.00517.23
8.1.100.0000.00717.38
8.1.90.0040.00417.43
8.1.80.0050.00317.38
8.1.70.0080.00017.30
8.1.60.0030.00517.40
8.1.50.0000.00817.46
8.1.40.0060.00317.50
8.1.30.0050.00317.57
8.1.20.0060.00317.59
8.1.10.0060.00317.25
8.1.00.0040.00417.29
8.0.300.0060.00318.77
8.0.290.0030.00516.63
8.0.280.0030.00318.32
8.0.270.0000.00717.18
8.0.260.0060.00017.12
8.0.250.0000.00716.76
8.0.240.0030.00316.87
8.0.230.0000.00916.87
8.0.220.0050.00216.82
8.0.210.0030.00316.83
8.0.200.0060.00016.89
8.0.190.0030.00616.82
8.0.180.0040.00416.73
8.0.170.0040.00416.80
8.0.160.0050.00916.84
8.0.150.0030.00316.79
8.0.140.0030.00516.82
8.0.130.0000.00513.25
8.0.120.0080.00016.86
8.0.110.0000.00816.87
8.0.100.0000.00716.68
8.0.90.0030.00316.64
8.0.80.0130.00316.88
8.0.70.0080.00016.87
8.0.60.0070.00016.65
8.0.50.0080.00016.73
8.0.30.0110.00717.01
8.0.20.0100.00917.40
8.0.10.0070.00016.98
8.0.00.0070.01116.63
7.4.330.0000.00615.08
7.4.320.0030.00316.43
7.4.300.0030.00316.55
7.4.290.0030.00316.53
7.4.280.0030.00316.43
7.4.270.0030.00316.54
7.4.260.0070.00016.41
7.4.250.0050.00316.48
7.4.240.0000.00716.34
7.4.230.0040.00416.59
7.4.220.0100.01016.38
7.4.210.0100.00716.49
7.4.200.0000.00716.62
7.4.160.0060.01416.26
7.4.150.0160.00617.40
7.4.140.0100.01317.86
7.4.130.0080.01116.37
7.4.120.0110.00616.39
7.4.110.0100.00716.33
7.4.100.0100.00716.48
7.4.90.0060.01116.29
7.4.80.0070.01619.39
7.4.70.0110.00516.40
7.4.60.0060.01016.41
7.4.50.0080.00316.22
7.4.40.0090.01216.45
7.4.30.0040.01216.59
7.4.00.0030.01414.94
7.3.330.0000.00513.13
7.3.320.0000.00613.18
7.3.310.0030.00316.12
7.3.300.0030.00316.12
7.3.290.0090.00916.15
7.3.280.0110.00816.19
7.3.270.0150.00317.40
7.3.260.0120.00616.21
7.3.250.0120.00616.25
7.3.240.0080.01016.33
7.3.230.0070.01016.39
7.3.210.0110.00616.44
7.3.200.0060.01016.21
7.3.190.0060.01016.18
7.3.180.0100.00616.05
7.3.170.0140.00316.45
7.3.160.0100.00716.39
7.3.10.0000.01316.51
7.3.00.0070.00516.47
7.2.330.0130.00516.31
7.2.320.0060.01316.24
7.2.310.0100.01016.61
7.2.300.0100.00716.23
7.2.290.0120.00416.30
7.2.130.0060.00616.75
7.2.120.0070.00616.68
7.2.110.0070.00816.65
7.2.100.0050.00916.86
7.2.90.0100.00316.59
7.2.80.0040.00816.75
7.2.70.0080.00816.85
7.2.60.0050.00816.60
7.2.50.0060.00416.88
7.2.40.0090.00616.80
7.2.30.0040.00816.72
7.2.20.0040.00816.59
7.2.10.0090.00516.73
7.2.00.0100.00317.37
7.1.250.0050.00915.47
7.1.240.0050.00615.54
7.1.230.0010.00815.70
7.1.220.0090.00315.74
7.1.210.0030.00915.71
7.1.200.0080.00615.71
7.1.190.0070.00715.75
7.1.180.0050.00915.81
7.1.170.0060.00615.71
7.1.160.0030.01015.64
7.1.150.0070.00615.32
7.1.140.0090.00515.58
7.1.130.0040.00515.77
7.1.120.0070.00815.56
7.1.110.0040.00915.56
7.1.100.0010.01016.38
7.1.90.0090.00215.73
7.1.80.0070.00915.54
7.1.70.0020.00916.01
7.1.60.0070.01016.74
7.1.50.0070.00615.69
7.1.40.0120.00315.68
7.1.30.0120.00115.47
7.1.20.0030.00815.69
7.1.10.0080.00515.77
7.1.00.0030.02917.99
7.0.330.0080.00715.22
7.0.320.0080.00515.19
7.0.310.0020.00815.16
7.0.300.0070.00515.20
7.0.290.0080.00515.16
7.0.280.0060.00415.41
7.0.270.0080.00615.39
7.0.260.0090.00315.33
7.0.250.0030.00715.15
7.0.240.0070.01015.27
7.0.230.0120.00415.38
7.0.220.0080.00715.49
7.0.210.0040.01115.22
7.0.200.0040.00915.68
7.0.190.0100.00415.34
7.0.180.0060.01115.29
7.0.170.0070.00315.33
7.0.160.0030.01015.28
7.0.150.0060.00615.29
7.0.140.0080.00315.05
7.0.130.0090.00715.12
7.0.120.0050.00815.21
7.0.110.0050.00915.29
7.0.100.0110.00815.09
7.0.90.0080.00815.23
7.0.80.0050.00715.36
7.0.70.0040.00815.12
7.0.60.1560.02116.80
7.0.50.0070.02817.00
7.0.40.0090.02515.63
7.0.30.0100.02515.58
7.0.20.0090.02215.67
7.0.10.0050.02815.76
7.0.00.0120.02215.69
5.6.380.0080.00314.19
5.6.370.0030.00914.05
5.6.360.0050.00814.26
5.6.350.0020.01214.15
5.6.340.0090.00314.54
5.6.330.0090.00514.27
5.6.320.0060.00614.04
5.6.310.0040.00914.31
5.6.300.0030.01114.30
5.6.290.0070.00714.29
5.6.280.0070.02616.54
5.6.270.0050.00714.36
5.6.260.0130.00214.26
5.6.250.0050.00914.10
5.6.240.0040.00714.34
5.6.230.0050.00814.12
5.6.220.0050.00914.41
5.6.210.0080.03316.42
5.6.200.0070.02316.42
5.6.190.0090.02516.62
5.6.180.0100.02216.56
5.6.170.0110.02516.59
5.6.160.0080.02316.47
5.6.150.0130.02516.65
5.6.140.0180.01816.52
5.6.130.0140.02316.52
5.6.120.0130.02616.61
5.6.110.0190.02616.49
5.6.100.0140.02416.46
5.6.90.0210.02716.40
5.6.80.0200.02416.36
5.6.70.0230.01916.27
5.6.60.0190.02416.22
5.6.50.0270.02116.10
5.6.40.0260.02816.24
5.6.30.0290.02116.10
5.6.20.0260.02416.33
5.6.10.0230.02516.12
5.6.00.0260.02216.41
5.5.380.0040.00511.13
5.5.370.0050.00810.99
5.5.360.0050.00610.97
5.5.350.0090.03614.12
5.5.340.0100.02114.54
5.5.330.0150.02014.28
5.5.320.0110.03014.34
5.5.310.0150.02114.43
5.5.300.0120.02214.41
5.5.290.0110.02414.35
5.5.280.0080.02214.27
5.5.270.0040.02614.33
5.5.260.0190.02714.31
5.5.250.0230.02114.21
5.5.240.0150.02514.23
5.5.230.0170.02614.04
5.5.220.0200.02214.04
5.5.210.0220.02414.14
5.5.200.0280.01914.07
5.5.190.0230.02214.05
5.5.180.0270.02014.09
5.5.170.0030.00610.86
5.5.160.0220.01914.07
5.5.150.0250.01914.02
5.5.140.0230.01814.07
5.5.130.0200.02614.19
5.5.120.0200.02314.18
5.5.110.0210.02114.00
5.5.100.0190.02914.05
5.5.90.0250.02114.10
5.5.80.0180.02313.98
5.5.70.0110.01814.08
5.5.60.0120.02014.01
5.5.50.0140.02114.04
5.5.40.0060.02414.03
5.5.30.0080.02214.18
5.5.20.0110.02013.99
5.5.10.0080.02913.87
5.5.00.0080.02413.96

preferences:
69.79 ms | 400 KiB | 5 Q