3v4l.org

run code in 300+ PHP versions simultaneously
<?php $userdata = unserialize('a:31:{s:9:"firstName";s:5:"Blake";s:8:"lastName";s:6:"Patton";s:5:"title";s:3:"Dev";s:11:"companyName";s:7:"Example";s:15:"companyLocation";s:5:"Idaho";s:5:"email";s:17:"lorem@example.com";s:7:"website";s:0:"";s:9:"address_1";s:12:"123 Fake St.";s:9:"address_2";s:0:"";s:11:"addressCity";s:9:"Fakeville";s:12:"addressState";s:2:"WA";s:14:"addressZipcode";s:6:"123456";s:5:"phone";s:12:"123-456-1234";s:3:"fax";s:0:"";s:18:"companyDescription";s:0:"";s:25:"checkIndustryOrganization";s:2:"on";s:28:"checkTechnicalStaffingAgency";s:2:"on";s:10:"checkOther";s:2:"on";s:7:"addlBiz";s:1:"1";s:8:"addEntry";s:1:"1";s:14:"addDescription";s:13:"Ipsm Sit Imut";s:10:"addWebsite";s:0:"";s:34:"checkContractManufacturingServices";s:2:"on";s:24:"checkEngineeringServices";s:2:"on";s:33:"checkTechnicalSalesRepresentative";s:2:"on";s:20:"checkTestingServices";s:2:"on";s:11:"checkLabels";s:2:"on";s:31:"checkMarketingMaterialsProvider";s:2:"on";s:6:"table1";s:2:"35";s:6:"table2";s:2:"36";s:12:"paypal_token";s:20:"EC-9RS395813D9318137";}'); foreach($userdata as $key=>$val){ $split = preg_split('/(?=[A-Z])/',$key); if($split[0]=='check'){ if($val == 'on'){ $category = ''; foreach($split as $name){ if($name!='check'){ $category .= $name.' '; } } $categories[]=trim($category); } } unset($split, $name, $key, $val, $category); } var_dump($categories); var_dump($userdata);

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.0060.00918.68
8.3.50.0080.01322.27
8.3.40.0090.00618.95
8.3.30.0140.00019.04
8.3.20.0060.00320.30
8.3.10.0040.00421.90
8.3.00.0040.00422.47
8.2.180.0180.00316.88
8.2.170.0140.00722.96
8.2.160.0000.01420.38
8.2.150.0050.00324.18
8.2.140.0030.00624.66
8.2.130.0000.00926.16
8.2.120.0040.00419.73
8.2.110.0090.00022.37
8.2.100.0130.00018.09
8.2.90.0000.00819.12
8.2.80.0060.00319.77
8.2.70.0030.00617.88
8.2.60.0040.00817.91
8.2.50.0030.00518.07
8.2.40.0040.00418.34
8.2.30.0050.00218.09
8.2.20.0000.00817.91
8.2.10.0080.00019.63
8.2.00.0000.00717.99
8.1.280.0090.00625.92
8.1.270.0030.00622.14
8.1.260.0080.00026.35
8.1.250.0080.00028.09
8.1.240.0050.00523.71
8.1.230.0070.00419.14
8.1.220.0060.00317.74
8.1.210.0000.00918.77
8.1.200.0040.00417.48
8.1.190.0030.00517.63
8.1.180.0000.00818.10
8.1.170.0060.00318.74
8.1.160.0000.00822.07
8.1.150.0000.01018.87
8.1.140.0000.01017.63
8.1.130.0040.00417.92
8.1.120.0030.00517.70
8.1.110.0030.00517.63
8.1.100.0040.00417.61
8.1.90.0000.00817.52
8.1.80.0070.00017.65
8.1.70.0040.00417.64
8.1.60.0130.00017.80
8.1.50.0040.00417.68
8.1.40.0030.00517.65
8.1.30.0030.00617.75
8.1.20.0030.00517.84
8.1.10.0040.00417.76
8.1.00.0040.00417.57
8.0.300.0040.00418.77
8.0.290.0040.00417.02
8.0.280.0030.00318.37
8.0.270.0070.00017.30
8.0.260.0000.00717.06
8.0.250.0040.00417.14
8.0.240.0050.00217.20
8.0.230.0040.00417.21
8.0.220.0050.00217.08
8.0.210.0050.00217.22
8.0.200.0000.00917.14
8.0.190.0040.00417.25
8.0.180.0040.00417.09
8.0.170.0060.00317.18
8.0.160.0030.00617.09
8.0.150.0040.00417.04
8.0.140.0040.00417.16
8.0.130.0030.00313.62
8.0.120.0030.00517.14
8.0.110.0050.00217.11
8.0.100.0040.00417.26
8.0.90.0080.00017.20
8.0.80.0140.00317.19
8.0.70.0000.00717.31
8.0.60.0050.00317.20
8.0.50.0040.00417.23
8.0.30.0090.01217.33
8.0.20.0140.01017.40
8.0.10.0060.00317.05
8.0.00.0120.00717.02
7.4.330.0000.00515.16
7.4.320.0000.00716.85
7.4.300.0030.00316.60
7.4.290.0040.00416.75
7.4.280.0000.00716.69
7.4.270.0000.00716.74
7.4.260.0000.00716.63
7.4.250.0050.00316.86
7.4.240.0020.00516.74
7.4.230.0070.00016.63
7.4.220.0110.01616.65
7.4.210.0080.00816.83
7.4.200.0000.00816.75
7.4.190.0040.00416.75
7.4.160.0170.00016.91
7.4.150.0080.01117.40
7.4.140.0100.00917.86
7.4.130.0180.00416.71
7.4.120.0080.00916.74
7.4.110.0140.00416.87
7.4.100.0090.01016.68
7.4.90.0120.00916.68
7.4.80.0040.01319.39
7.4.70.0130.00316.75
7.4.60.0050.01216.73
7.4.50.0040.00016.67
7.4.40.0150.00322.77
7.4.30.0120.00616.75
7.4.00.0060.01015.38
7.3.330.0030.00313.42
7.3.320.0050.00013.41
7.3.310.0000.00816.65
7.3.300.0000.00716.57
7.3.290.0070.00716.54
7.3.280.0080.00916.50
7.3.270.0160.00317.40
7.3.260.0130.00616.80
7.3.250.0130.00716.88
7.3.240.0140.00516.53
7.3.230.0060.01316.50
7.3.210.0120.01016.40
7.3.200.0180.00019.39
7.3.190.0070.01216.73
7.3.180.0040.01416.65
7.3.170.0110.00716.70
7.3.160.0110.00716.58
7.3.120.0050.01115.12
7.3.110.0060.01115.01
7.3.100.0070.01114.80
7.3.90.0090.00315.27
7.3.80.0080.00414.82
7.3.70.0080.00315.16
7.3.60.0090.00314.92
7.3.50.0110.00315.06
7.3.40.0040.01115.23
7.3.30.0060.00614.93
7.3.20.0030.01016.82
7.3.10.0000.01216.52
7.3.00.0030.01016.93
7.2.330.0110.00916.79
7.2.320.0000.01916.74
7.2.310.0120.00616.86
7.2.300.0100.01016.65
7.2.290.0040.01516.78
7.2.250.0090.00915.36
7.2.240.0040.01815.05
7.2.230.0000.01815.43
7.2.220.0030.01014.97
7.2.210.0080.00414.95
7.2.200.0030.01015.51
7.2.190.0040.01114.86
7.2.180.0000.01915.14
7.2.170.0070.01115.17
7.2.00.0070.01119.61
7.1.330.0110.00416.18
7.1.320.0080.00415.80
7.1.310.0040.01115.91
7.1.300.0060.00615.96
7.1.290.0040.01115.79
7.1.280.0000.01615.68
7.1.270.0000.01215.98
7.1.260.0040.00815.57
7.1.100.0000.01118.45
7.1.70.0030.00717.15
7.1.60.0070.01819.82
7.1.50.0110.00817.30
7.1.00.0030.07322.52
7.0.200.0000.00716.84
7.0.140.0030.07322.11
7.0.60.0130.07719.94
7.0.50.0130.05017.84
7.0.40.0030.05320.26
7.0.30.0300.07720.14
7.0.20.0400.04020.14
7.0.10.0070.09320.18
7.0.00.0170.07720.15
5.6.280.0070.07320.81
5.6.210.0100.08020.75
5.6.200.0100.08018.15
5.6.190.0170.08020.43
5.6.180.5100.04020.41
5.6.170.0200.08320.42
5.6.160.0100.07720.37
5.6.150.0000.05318.13
5.6.140.0030.04018.15
5.6.130.0070.06318.21
5.6.120.0070.09020.98
5.6.110.0130.07721.11
5.6.100.0130.06720.88
5.6.90.0030.09020.96
5.6.80.0100.07320.40
5.6.70.4470.04320.32
5.5.350.0300.06720.49
5.5.340.0070.05017.92
5.5.330.0100.07320.21
5.5.320.0300.07720.31
5.5.310.0200.03720.18
5.5.300.0000.09017.91
5.5.290.0100.06318.04
5.5.280.0070.05320.87
5.5.270.0070.04020.79
5.5.260.0070.09020.75
5.5.250.0070.05320.55
5.5.240.0270.06720.16
5.4.450.0470.06019.60
5.4.440.0800.05719.64
5.4.430.0070.06019.45
5.4.420.0100.05319.45
5.4.410.0100.06719.35
5.4.400.0830.00018.81
5.4.390.0900.00018.72
5.4.380.0200.05718.74
5.4.370.0300.04318.50
5.4.360.0170.05318.59
5.4.350.0200.05318.53
5.4.340.0170.05718.77
5.4.320.0060.03612.46
5.4.310.0050.03812.46
5.4.300.0060.03712.46
5.4.290.0070.03612.46
5.4.280.0060.03512.36
5.4.270.0000.08018.88
5.4.260.0000.06018.85
5.4.250.0100.05318.99
5.4.240.0130.07018.89
5.4.230.0070.08318.89
5.4.220.0100.05718.79
5.4.210.0100.05718.79
5.4.200.0170.05018.77
5.4.190.0070.07019.01
5.4.180.0200.06718.83
5.4.170.0070.07318.71
5.4.160.0200.06018.62
5.4.150.0270.06019.01
5.4.140.0070.05316.39
5.4.130.0170.06716.24
5.4.120.0030.06716.48
5.4.110.0070.06316.45
5.4.100.0200.06716.42
5.4.90.0130.05716.44
5.4.80.0100.05716.41
5.4.70.0070.07716.53
5.4.60.0100.06716.34
5.4.50.0100.05016.49
5.4.40.0100.07016.36
5.4.30.0130.05316.25
5.4.20.0200.05716.26
5.4.10.0000.05716.46
5.4.00.0170.05715.93
5.3.290.0060.03812.80
5.3.280.0030.07314.52
5.3.270.0100.05014.63
5.3.260.0000.06014.64
5.3.250.0200.06014.49
5.3.240.0100.06014.60
5.3.230.0100.05714.62
5.3.220.0130.04714.68
5.3.210.0070.06314.45
5.3.200.0130.06014.64
5.3.190.0100.07014.28
5.3.180.0070.05714.73
5.3.170.0100.05314.49
5.3.160.0070.05714.58
5.3.150.0030.06014.35
5.3.140.0100.05714.48
5.3.130.0100.06014.43
5.3.120.0130.06714.61
5.3.110.0030.06014.62
5.3.100.0030.08314.07
5.3.90.0130.06314.04
5.3.80.0100.06714.07
5.3.70.0070.05714.18
5.3.60.0100.04713.78
5.3.50.0300.04713.88
5.3.40.0230.04713.95
5.3.30.0170.04313.79
5.3.20.0070.07313.72
5.3.10.0200.05713.52
5.3.00.0200.04313.64
5.2.170.0100.04311.16
5.2.160.0100.05011.06
5.2.150.0130.04011.09
5.2.140.0100.05311.16
5.2.130.0030.04311.22
5.2.120.0070.04311.00
5.2.110.0070.04011.11
5.2.100.0100.04011.20
5.2.90.0100.04711.01
5.2.80.0100.04011.02
5.2.70.0070.05311.00
5.2.60.0070.04711.08
5.2.50.0070.04311.05
5.2.40.0030.05711.16
5.2.30.0100.05311.00
5.2.20.0100.03711.07
5.2.10.0070.04310.95
5.2.00.0100.05310.80
5.1.60.0030.03710.15
5.1.50.0070.03710.07
5.1.40.0070.03310.07
5.1.30.0030.03710.40
5.1.20.0030.05010.44
5.1.10.0000.05310.27
5.1.00.0030.04010.14
5.0.50.0130.0338.61
5.0.40.0030.0378.34
5.0.30.0130.0408.30
5.0.20.0100.0308.19
5.0.10.0000.0308.23
5.0.00.0100.0508.21
4.4.90.0000.0236.64
4.4.80.0070.0276.59
4.4.70.0070.0236.59
4.4.60.0000.0276.59
4.4.50.0070.0176.59
4.4.40.0070.0436.59
4.4.30.0030.0306.59
4.4.20.0130.0206.59
4.4.10.0100.0276.59
4.4.00.0070.0336.59
4.3.110.0100.0236.59
4.3.100.0030.0236.59
4.3.90.0070.0276.59
4.3.80.0070.0436.59
4.3.70.0030.0206.59
4.3.60.0030.0276.59
4.3.50.0070.0176.59
4.3.40.0070.0436.59
4.3.30.0000.0336.59
4.3.20.0030.0206.59
4.3.10.0000.0236.59
4.3.00.0070.0306.35

preferences:
56.67 ms | 401 KiB | 5 Q