3v4l.org

run code in 300+ PHP versions simultaneously
<?php // シリアライズ元がないクラスでアンシリアライズ $b = unserialize('O:4:"Hoge":0:{}'); var_dump($b); //object(__PHP_Incomplete_Class)#1 (1) { // ["__PHP_Incomplete_Class_Name"]=> // string(4) "Hoge" //} var_dump(is_object($b)); // if(PHPのバージョン >= 7.2.0) { // bool(true) // } else { // bool(false) // }

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.10.0060.01226.03
8.3.140.0080.00016.78
8.3.130.0090.00016.23
8.3.120.0080.00818.66
8.3.110.0030.01620.94
8.3.100.0180.00416.44
8.3.90.0060.00326.77
8.3.80.0000.00816.63
8.3.70.0180.00316.58
8.3.60.0160.00616.50
8.3.50.0070.00523.67
8.3.40.0150.00318.71
8.3.30.0070.01018.41
8.3.20.0000.00724.18
8.3.10.0070.00024.66
8.3.00.0000.00826.16
8.2.250.0080.00016.62
8.2.240.0000.00816.87
8.2.230.0040.00422.58
8.2.220.0070.01024.06
8.2.210.0110.00726.77
8.2.200.0050.00516.25
8.2.190.0100.01016.58
8.2.180.0110.00425.92
8.2.170.0040.01122.96
8.2.160.0060.01222.96
8.2.150.0070.00025.66
8.2.140.0040.00424.66
8.2.130.0000.00726.16
8.2.120.0000.00721.13
8.2.110.0070.00419.37
8.2.100.0080.00417.79
8.2.90.0050.00318.03
8.2.80.0080.00017.97
8.2.70.0030.00617.50
8.2.60.0000.00917.80
8.2.50.0050.00318.05
8.2.40.0030.00717.91
8.2.30.0040.00417.88
8.2.20.0030.00618.00
8.2.10.0090.00019.14
8.2.00.0040.00419.17
8.1.300.0170.00018.50
8.1.290.0030.00630.84
8.1.280.0110.00725.92
8.1.270.0040.00423.99
8.1.260.0000.00826.35
8.1.250.0070.00028.09
8.1.240.0060.00319.09
8.1.230.0030.00720.89
8.1.220.0030.00517.74
8.1.210.0080.00018.77
8.1.200.0080.00017.22
8.1.190.0000.00817.22
8.1.180.0000.00818.10
8.1.170.0050.00320.37
8.1.160.0060.00318.83
8.1.150.0040.00418.78
8.1.140.0000.00718.79
8.1.130.0030.00320.07
8.1.120.0000.00717.39
8.1.110.0080.00017.41
8.1.100.0040.00417.29
8.1.90.0040.00417.33
8.1.80.0040.00417.38
8.1.70.0000.00717.41
8.1.60.0030.00517.52
8.1.50.0040.00417.45
8.1.40.0000.00817.51
8.1.30.0030.00517.50
8.1.20.0050.00317.59
8.1.10.0050.00317.32
8.1.00.0040.00417.35
8.0.300.0000.00720.12
8.0.290.0090.00016.75
8.0.280.0050.00318.38
8.0.270.0040.00417.99
8.0.260.0030.00318.39
8.0.250.0040.00416.95
8.0.240.0040.00416.95
8.0.230.0040.00416.95
8.0.220.0000.00716.80
8.0.210.0030.00316.76
8.0.200.0030.00316.91
8.0.190.0070.00016.94
8.0.180.0040.00416.81
8.0.170.0060.00316.90
8.0.160.0030.00316.77
8.0.150.0040.00416.79
8.0.140.0000.00716.85
8.0.130.0030.00313.28
8.0.120.0060.00316.76
8.0.110.0070.00016.73
8.0.100.0040.00416.74
8.0.90.0040.00416.68
8.0.80.0080.01316.89
8.0.70.0040.00416.93
8.0.60.0030.00516.87
8.0.50.0000.00816.77
8.0.30.0090.00616.83
8.0.20.0030.01616.95
8.0.10.0190.01017.12
8.0.00.0160.01216.73
7.4.330.0000.00415.55
7.4.320.0030.00316.41
7.4.300.0070.00016.58
7.4.290.0030.00316.41
7.4.280.0040.00416.51
7.4.270.0030.00316.51
7.4.260.0050.00013.22
7.4.250.0030.00316.50
7.4.240.0020.00516.45
7.4.230.0000.00716.65
7.4.220.0000.00616.34
7.4.210.0070.00716.59
7.4.200.0070.00016.62
7.4.140.0140.00716.27
7.4.130.0140.01116.43
7.4.120.0140.01416.22
7.4.110.0160.01316.25
7.4.100.0160.00616.45
7.4.90.0150.01116.33
7.4.80.0140.01016.48
7.4.70.0090.01716.44
7.4.60.0210.00916.57
7.4.50.0180.00616.38
7.4.40.0160.01316.29
7.4.30.0240.00016.28
7.4.20.0210.00416.43
7.4.10.0200.00716.28
7.4.00.0130.00716.10
7.3.330.0070.00015.98
7.3.320.0000.00612.86
7.3.310.0030.00316.17
7.3.300.0000.00715.92
7.3.290.0110.00616.13
7.3.260.0150.01016.09
7.3.250.0260.00216.36
7.3.240.0120.01516.19
7.3.230.0210.00016.38
7.3.220.0150.00616.17
7.3.210.0110.01516.17
7.3.200.0090.01316.18
7.3.190.0170.00716.32
7.3.180.0170.00916.47
7.3.170.0240.00016.32
7.3.160.0210.00716.18
7.3.150.0120.01216.35
7.3.140.0070.01816.33
7.3.130.0130.00715.97
7.3.120.0170.01316.13
7.3.110.0170.00716.07
7.3.100.0210.01116.44
7.3.90.0230.01016.32
7.3.80.0190.01316.32
7.3.70.0250.00716.34
7.3.60.0170.01416.21
7.3.50.0230.00916.36
7.3.40.0190.00916.24
7.3.30.0190.00016.07
7.3.20.0430.00316.22
7.3.10.0090.01116.27
7.3.00.0100.01316.21
7.2.340.0310.00816.61
7.2.330.0240.01716.39
7.2.320.0190.01916.58
7.2.310.0290.01116.44
7.2.300.0350.00016.55
7.2.290.0340.00916.57
7.2.280.0230.01216.58
7.2.270.0210.01416.39
7.2.260.0220.01016.48
7.2.250.0300.00616.60
7.2.240.0230.01216.44
7.2.230.0230.00916.50
7.2.220.0220.01016.49
7.2.210.0300.01016.55
7.2.200.0240.00416.08
7.2.190.0130.01716.20
7.2.180.0170.01116.42
7.2.170.0200.00716.46
7.2.160.0280.00316.15
7.2.150.0160.00916.20
7.2.140.0180.00916.27
7.2.130.0140.01416.30
7.2.120.0150.00916.26
7.2.110.0090.01716.43
7.2.100.0220.01016.29
7.2.90.0130.01316.50
7.2.80.0190.01016.39
7.2.70.0250.01116.36
7.2.60.0150.02216.53
7.2.50.0180.00816.12
7.2.40.0280.01116.43
7.2.30.0260.00616.45
7.2.20.0200.01316.58
7.2.10.0330.01016.43
7.2.00.0380.01216.51
7.1.330.0250.00715.50
7.1.320.0350.00715.56
7.1.310.0290.00315.83
7.1.300.0190.01315.52
7.1.290.0180.00815.17
7.1.280.0180.00915.20
7.1.270.0200.00615.46
7.1.260.0160.00815.00
7.1.250.0170.00715.38
7.1.240.0150.01115.54
7.1.230.0200.00415.26
7.1.220.0150.01115.24
7.1.210.0270.00315.32
7.1.200.0220.00515.48
7.1.190.0300.00315.57
7.1.180.0140.01415.38
7.1.170.0090.01815.45
7.1.160.0210.01115.42
7.1.150.0240.00715.57
7.1.140.0290.00315.54
7.1.130.0140.01415.61
7.1.120.0100.02015.50
7.1.110.0140.01415.47
7.1.100.0320.00615.66
7.1.90.0230.00915.58
7.1.80.0320.00515.45
7.1.70.0280.00315.26
7.1.60.0260.00615.43
7.1.50.0170.01115.48
7.1.40.0320.00715.54
7.1.30.0240.00815.56
7.1.20.0160.01315.58
7.1.10.0270.00315.54
7.1.00.0210.00915.59
7.0.330.0150.01115.11
7.0.320.0140.01815.08
7.0.310.0210.00715.25
7.0.300.0160.01215.12
7.0.290.0240.00315.16
7.0.280.0220.00615.10
7.0.270.0220.00615.13
7.0.260.0180.00915.29
7.0.250.0240.00515.22
7.0.240.0260.00315.07
7.0.230.0320.01015.20
7.0.220.0210.00815.22
7.0.210.0330.00615.22
7.0.200.0260.00314.92
7.0.190.0200.00515.04
7.0.180.0270.00315.11
7.0.170.0200.01015.04
7.0.160.0190.00915.24
7.0.150.0250.00615.29
7.0.140.0170.00715.20
7.0.130.0110.00815.27
7.0.120.0210.00315.12
7.0.110.0110.00715.21
7.0.100.0070.01115.22
7.0.90.0090.00915.37
7.0.80.0070.01015.32
7.0.70.0060.01715.30
7.0.60.0110.00815.25
7.0.50.0250.00215.27
7.0.40.0180.00915.07
7.0.30.0220.00415.23
7.0.20.0140.00715.13
7.0.10.0230.00715.12
7.0.00.0240.00715.19
5.6.400.0210.01015.54
5.6.390.0200.00415.37
5.6.380.0150.01515.45
5.6.370.0180.01215.84
5.6.360.0240.00915.88
5.6.350.0240.00615.63
5.6.340.0240.00815.98
5.6.330.0150.01115.61
5.6.320.0170.01815.83
5.6.310.0270.00615.73
5.6.300.0220.01015.76
5.6.290.0070.01315.74
5.6.280.0090.01215.88
5.6.270.0210.00615.53
5.6.260.0050.01915.25
5.6.250.0060.01615.88
5.6.240.0070.01315.76
5.6.230.0080.01215.87
5.6.220.0080.01215.77
5.6.210.0130.01015.71
5.6.200.0260.01515.68
5.6.190.0200.01415.82
5.6.180.0230.01115.81
5.6.170.0330.00715.83
5.6.160.0270.00915.95
5.6.150.0290.00515.59
5.6.140.0290.01215.76
5.6.130.0210.00815.84
5.6.120.0170.01415.79
5.6.110.0170.01415.71
5.6.100.0200.01015.87
5.6.90.0240.01215.76
5.6.80.0250.01115.66
5.6.70.0170.01415.63
5.6.60.0190.01115.63
5.6.50.0050.01815.76
5.6.40.0130.01315.86
5.6.30.0080.01615.66
5.6.20.0150.00815.57
5.6.10.0150.00915.65
5.6.00.0160.00815.47
5.5.380.0090.01215.67
5.5.370.0150.00515.81
5.5.360.0100.01115.75
5.5.350.0140.00915.57
5.5.340.0140.01115.73
5.5.330.0080.01915.80
5.5.320.0240.00915.96
5.5.310.0290.00015.75
5.5.300.0240.00815.82
5.5.290.0070.01515.57
5.5.280.0160.00915.48
5.5.270.0100.01015.75
5.5.260.0160.01015.78
5.5.250.0120.01215.53
5.5.240.0150.01515.70
5.5.230.0130.01915.39
5.5.220.0200.01715.73
5.5.210.0060.01615.55
5.5.200.0110.01115.72
5.5.190.0200.00415.51
5.5.180.0230.00315.61
5.5.170.0140.01115.53
5.5.160.0110.00815.65
5.5.150.0030.01915.26
5.5.140.0110.01515.90
5.5.130.0200.00315.62
5.5.120.0140.00715.68
5.5.110.0210.00415.58
5.5.100.0120.00915.57
5.5.90.0160.00615.54
5.5.80.0040.01715.38
5.5.70.0110.01115.53
5.5.60.0070.01415.75
5.5.50.0040.01715.65
5.5.40.0140.00615.71
5.5.30.0080.01215.83
5.5.20.0090.01315.44
5.5.10.0080.01215.54
5.5.00.0200.01015.33
5.4.450.0060.01212.43
5.4.440.0130.00612.43
5.4.430.0100.00712.42
5.4.420.0040.01212.48
5.4.410.0210.00312.46
5.4.400.0120.00612.34
5.4.390.0120.00812.49
5.4.380.0100.00712.51
5.4.370.0110.00712.34
5.4.360.0060.00912.39
5.4.350.0110.00612.52
5.4.340.0110.00612.42
5.4.330.0080.00812.46
5.4.320.0030.01312.32
5.4.310.0070.01012.53
5.4.300.0070.01012.46
5.4.290.0160.00612.32
5.4.280.0120.00612.39
5.4.270.0100.00712.48
5.4.260.0070.01012.26
5.4.250.0080.00812.53
5.4.240.0080.00812.44
5.4.230.0130.00412.22
5.4.220.0120.00312.30
5.4.210.0110.00412.57
5.4.200.0000.01612.30
5.4.190.0160.00512.30
5.4.180.0150.00912.26
5.4.170.0170.00412.58
5.4.160.0170.00712.37
5.4.150.0190.00812.32
5.4.140.0140.00912.29
5.4.130.0140.01112.38
5.4.120.0180.00712.38
5.4.110.0160.00812.30
5.4.100.0170.00612.43
5.4.90.0190.00412.29
5.4.80.0200.00312.46
5.4.70.0150.00612.45
5.4.60.0060.01012.47
5.4.50.0030.01012.58
5.4.40.0070.01012.32
5.4.30.0070.00712.47
5.4.20.0070.00712.30
5.4.10.0070.00712.38
5.4.00.0160.00012.43
5.3.290.0180.00512.94
5.3.280.0130.01013.05
5.3.270.0230.00012.89
5.3.260.0140.01212.89
5.3.250.0160.00812.88
5.3.240.0160.00812.79
5.3.230.0130.01112.91
5.3.220.0150.00912.77
5.3.210.0190.00712.79
5.3.200.0160.01012.76
5.3.190.0130.01012.89
5.3.180.0190.00312.95
5.3.170.0140.01112.91
5.3.160.0150.01113.09
5.3.150.0160.01013.02
5.3.140.0210.00612.89
5.3.130.0170.00912.93
5.3.120.0230.00312.88
5.3.110.0140.01012.99
5.3.100.0130.01312.88
5.3.90.0230.00012.81
5.3.80.0130.01012.70
5.3.70.0150.01012.88
5.3.60.0210.00612.96
5.3.50.0210.00712.80
5.3.40.0160.01012.74
5.3.30.0190.00612.97
5.3.20.0120.01212.77
5.3.10.0210.00012.78
5.3.00.0170.00912.60
5.2.170.0130.00611.96
5.2.160.0220.00012.05
5.2.150.0140.00711.92
5.2.140.0130.00712.04
5.2.130.0130.00811.95
5.2.120.0140.00512.04
5.2.110.0150.00611.98
5.2.100.0160.00412.00
5.2.90.0200.00011.83
5.2.80.0170.00411.92
5.2.70.0140.00611.89
5.2.60.0130.00711.77
5.2.50.0110.01111.88
5.2.40.0090.00911.81
5.2.30.0090.01011.76
5.2.20.0130.00611.91
5.2.10.0160.00311.72
5.2.00.0100.01011.60
5.1.60.0130.00311.23
5.1.50.0170.00011.23
5.1.40.0120.00411.23
5.1.30.0100.00711.24
5.1.20.0110.00611.23
5.1.10.0120.00311.23
5.1.00.0080.00811.23
5.0.50.0100.00711.23
5.0.40.0110.00911.23
5.0.30.0100.00311.23
5.0.20.0120.00311.23
5.0.10.0090.00511.23
5.0.00.0090.00511.23
4.4.90.0080.00311.23
4.4.80.0090.00011.23
4.4.70.0000.00911.23
4.4.60.0060.00311.23
4.4.50.0100.00011.23
4.4.40.0000.00911.23
4.4.30.0060.00511.23
4.4.20.0060.00311.23
4.4.10.0030.00611.23
4.4.00.0050.00511.23
4.3.110.0120.00011.23
4.3.100.0070.00511.23
4.3.90.0090.00011.23
4.3.80.0000.01011.23
4.3.70.0040.00911.23
4.3.60.0060.00311.23
4.3.50.0080.00411.23
4.3.40.0070.00211.23
4.3.30.0060.00311.23
4.3.20.0040.00411.23
4.3.10.0080.00011.23
4.3.00.0080.00011.23

preferences:
50.66 ms | 403 KiB | 5 Q