3v4l.org

run code in 300+ PHP versions simultaneously
<?php $bla = serialize(['a', 'b', 'c']); function isSerialized($string) { return @unserialize($string) !== false; } var_dump(isSerialized("abc")); var_dump(isSerialized($bla));

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.00918.29
8.3.50.0100.00718.04
8.3.40.0100.00718.54
8.3.30.0040.01118.58
8.3.20.0060.00318.75
8.3.10.0050.00320.90
8.3.00.0050.00319.56
8.2.180.0170.00616.32
8.2.170.0090.00922.96
8.2.160.0070.00718.97
8.2.150.0050.00324.18
8.2.140.0050.00324.66
8.2.130.0040.00419.83
8.2.120.0040.00426.35
8.2.110.0030.00621.07
8.2.100.0040.00817.91
8.2.90.0050.00317.88
8.2.80.0040.00418.66
8.2.70.0040.00417.55
8.2.60.0040.00418.04
8.2.50.0030.00518.10
8.2.40.0050.00319.23
8.2.30.0050.00319.30
8.2.20.0050.00218.04
8.2.10.0000.00718.11
8.2.00.0070.00019.30
8.1.280.0040.01725.92
8.1.270.0030.00622.05
8.1.260.0020.00526.35
8.1.250.0080.00028.09
8.1.240.0040.00422.16
8.1.230.0090.00320.95
8.1.220.0060.00318.44
8.1.210.0000.00818.77
8.1.200.0050.00517.25
8.1.190.0040.00417.23
8.1.180.0040.00418.10
8.1.170.0000.00918.65
8.1.160.0000.00718.80
8.1.150.0060.00320.59
8.1.140.0040.00417.66
8.1.130.0040.00418.91
8.1.120.0070.00017.48
8.1.110.0060.00317.41
8.1.100.0080.00017.36
8.1.90.0040.00417.38
8.1.80.0030.00517.50
8.1.70.0000.00717.48
8.1.60.0000.00817.59
8.1.50.0050.00217.55
8.1.40.0000.00817.41
8.1.30.0000.00817.55
8.1.20.0040.00417.60
8.1.10.0040.00417.43
8.1.00.0040.00417.49
8.0.300.0000.00719.98
8.0.290.0040.00416.75
8.0.280.0000.00718.45
8.0.270.0030.00317.25
8.0.260.0040.00417.25
8.0.250.0000.00717.04
8.0.240.0000.00716.98
8.0.230.0090.00017.07
8.0.220.0070.00016.82
8.0.210.0040.00316.94
8.0.200.0050.00217.04
8.0.190.0000.00816.97
8.0.180.0040.00416.88
8.0.170.0040.00416.88
8.0.160.0050.00317.02
8.0.150.0030.00416.73
8.0.140.0040.00416.92
8.0.130.0030.00313.33
8.0.120.0000.00716.85
8.0.110.0030.00617.04
8.0.100.0040.00416.84
8.0.90.0070.00016.89
8.0.80.0060.01316.88
8.0.70.0040.00416.84
8.0.60.0070.00016.83
8.0.50.0030.00516.91
8.0.30.0090.01017.12
8.0.20.0070.01117.40
8.0.10.0000.00717.05
8.0.00.0080.01016.76
7.4.330.0050.00015.55
7.4.320.0030.00316.61
7.4.300.0030.00316.52
7.4.290.0000.00716.36
7.4.280.0080.00016.50
7.4.270.0080.00016.52
7.4.260.0000.00716.52
7.4.250.0040.00416.56
7.4.240.0050.00216.54
7.4.230.0080.00016.63
7.4.220.0080.00016.62
7.4.210.0050.01216.60
7.4.200.0030.00316.33
7.4.160.0070.00816.49
7.4.140.0090.01217.86
7.4.130.0090.00916.71
7.4.120.0100.00916.61
7.4.110.0090.00916.63
7.4.100.0100.00616.74
7.4.90.0120.00916.49
7.4.80.0030.01719.39
7.4.70.0120.00816.53
7.4.60.0040.01216.39
7.4.50.0030.01316.49
7.4.40.0120.00616.73
7.4.00.0050.01314.93
7.3.330.0050.00013.16
7.3.320.0030.00313.30
7.3.310.0040.00416.22
7.3.300.0030.00316.34
7.3.290.0000.00716.33
7.3.280.0090.01016.24
7.3.260.0110.00616.44
7.3.240.0090.01016.39
7.3.230.0100.00616.60
7.3.210.0060.01216.48
7.3.200.0110.01116.39
7.3.190.0060.01016.66
7.3.180.0060.01016.46
7.3.170.0080.00816.37
7.3.160.0080.00816.45
7.3.120.0050.01214.79
7.3.110.0080.01014.70
7.3.100.0050.00914.90
7.3.90.0040.00714.54
7.3.80.0040.00814.83
7.3.70.0030.00614.77
7.3.60.0060.00714.62
7.3.50.0020.01314.79
7.3.40.0050.00814.62
7.3.30.0020.00914.79
7.3.20.0090.00316.64
7.3.10.0050.00916.50
7.3.00.0080.00216.66
7.2.330.0090.00916.46
7.2.320.0120.01216.70
7.2.310.0070.01716.48
7.2.300.0100.00816.75
7.2.290.0070.01416.66
7.2.250.0070.01115.24
7.2.240.0050.01315.10
7.2.230.0060.01015.11
7.2.220.0090.00614.74
7.2.210.0080.00715.03
7.2.200.0030.00815.06
7.2.190.0050.00814.98
7.2.180.0050.01015.06
7.2.170.0070.00514.86
7.2.60.3100.01114.68
7.2.50.3000.01015.00
7.2.40.3120.01115.21
7.2.30.2690.00915.25
7.2.20.2830.01115.32
7.2.10.3420.00815.25
7.2.00.3310.01115.68
7.1.330.0030.01315.76
7.1.320.0060.00915.56
7.1.310.0080.00615.69
7.1.300.0060.00915.78
7.1.290.0070.00615.77
7.1.280.0020.00915.53
7.1.270.0040.01115.72
7.1.260.0070.00815.63
7.1.200.0060.00915.62
7.1.170.3340.00613.68
7.1.160.3650.01516.55
7.1.150.3180.00516.81
7.1.140.2790.00916.89
7.1.130.3510.00816.48
7.1.120.2990.01516.40
7.1.110.3040.01515.90
7.1.100.3490.01116.05
7.1.90.2760.01116.02
7.1.80.1950.01216.07
7.1.70.3620.00815.43
7.1.60.4330.02233.28
7.1.50.0430.01333.02
7.1.40.1560.01832.59
7.1.30.4140.01232.75
7.1.20.1310.01332.55
7.1.10.4680.01314.67
7.1.00.3780.01214.82

preferences:
66.86 ms | 401 KiB | 5 Q