3v4l.org

run code in 300+ PHP versions simultaneously
<?php $list = json_decode('[ { "id": 0, "guid": "37c6fa28-9cf2-4955-bf95-bd2fd122e83c", "isActive": false, "balance": "$2,339.00", "picture": "http://placehold.it/32x32", "age": 27, "name": "Melanie Washington", "gender": "female", "company": "Hydrocom", "email": "melaniewashington@hydrocom.com", "phone": "+1 (921) 414-3458", "address": "699 Dank Court, Coaldale, Louisiana, 4570", "about": "Velit ex ullamco non voluptate adipisicing voluptate ut nulla minim consequat esse commodo. Fugiat est cupidatat non quis mollit commodo ipsum eiusmod laboris. Ex eiusmod labore ex eu nostrud minim magna quis minim non consequat cupidatat.\r\n", "registered": "2002-03-23T17:30:23 -02:00", "latitude": -73.577501, "longitude": -93.995272, "catalog": [ { "label": "Books", "list": [ { "label": "ea", "list": [ { "label": "pariatur anim", "list": [ { "label": "mollit anim ad", "author": "Griffith Patel", "rating": 7, "published": "1993-05-27T13:57:14 -03:00" }, { "label": "velit qui exercitation", "author": "Fernandez Dominguez", "rating": 3, "published": "1998-01-14T23:11:03 -02:00" }, { "label": "velit do est", "author": "Esperanza Simon", "rating": 5, "published": "2012-08-07T02:17:24 -03:00" } ] }, { "label": "ex dolor", "list": [ { "label": "eiusmod id exercitation", "author": "Eliza Mejia", "rating": 9, "published": "2010-12-12T11:53:15 -02:00" }, { "label": "est veniam non", "author": "Melva Burton", "rating": 3, "published": "1997-08-28T14:24:43 -03:00" }, { "label": "do exercitation nostrud", "author": "Janelle Kramer", "rating": 5, "published": "2003-10-22T20:32:02 -03:00" } ] }, { "label": "pariatur exercitation", "list": [ { "label": "sint sint esse", "author": "Whitehead Flynn", "rating": 8, "published": "2003-02-08T23:50:56 -02:00" }, { "label": "in esse tempor", "author": "Slater Ford", "rating": 4, "published": "1996-04-28T14:51:15 -03:00" }, { "label": "elit elit minim", "author": "Casey Jefferson", "rating": 3, "published": "1995-02-04T17:17:01 -02:00" } ] } ] } ] } ], "tags": [ "sint", "enim", "est", "reprehenderit", "cillum", "quis", "occaecat" ], "friends": [ { "id": 0, "name": "Angelia Schultz" }, { "id": 1, "name": "Estrada Pierce" }, { "id": 2, "name": "Deanne Burt" } ], "customField": "Hello, Melanie Washington! You have 10 unread messages." } ]'); var_export($list); echo wddx_serialize_vars($list);

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.70.0120.00918.28
8.3.60.0090.00618.07
8.3.50.0100.00722.11
8.3.40.0070.01318.80
8.3.30.0070.00719.27
8.3.20.0080.00020.23
8.3.10.0070.00022.00
8.3.00.0040.00422.52
8.2.180.0100.00616.75
8.2.170.0120.00322.96
8.2.160.0110.00720.80
8.2.150.0000.00824.18
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0060.00319.36
8.2.110.0060.00322.06
8.2.100.0080.00419.45
8.2.90.0050.00319.09
8.2.80.0040.00418.04
8.2.70.0040.00417.38
8.2.60.0000.00917.79
8.2.50.0050.00318.07
8.2.40.0050.00317.88
8.2.30.0040.00418.09
8.2.20.0040.00417.60
8.2.10.0050.00317.59
8.2.00.0060.00617.82
8.1.280.0140.00725.92
8.1.270.0030.00522.18
8.1.260.0050.00326.35
8.1.250.0040.00428.09
8.1.240.0060.00323.88
8.1.230.0050.00519.22
8.1.220.0040.00417.74
8.1.210.0030.00718.77
8.1.200.0090.00017.35
8.1.190.0040.00417.53
8.1.180.0030.00518.66
8.1.170.0000.00818.52
8.1.160.0070.00021.97
8.1.150.0000.00718.48
8.1.140.0000.00817.32
8.1.130.0040.00417.81
8.1.120.0030.00317.51
8.1.110.0040.00417.39
8.1.100.0040.00417.32
8.1.90.0050.00217.48
8.1.80.0040.00317.50
8.1.70.0050.00317.40
8.1.60.0000.00817.59
8.1.50.0040.00417.50
8.1.40.0000.00717.57
8.1.30.0030.00617.68
8.1.20.0030.00617.66
8.1.10.0080.00017.55
8.1.00.0030.00717.58
8.0.300.0000.00718.77
8.0.290.0040.00417.18
8.0.280.0050.00318.41
8.0.270.0050.00317.24
8.0.260.0070.00016.77
8.0.250.0030.00316.88
8.0.240.0090.00016.86
8.0.230.0030.00316.87
8.0.220.0030.00316.89
8.0.210.0030.00316.80
8.0.200.0000.00716.87
8.0.190.0000.00717.04
8.0.180.0000.00716.95
8.0.170.0040.00416.93
8.0.160.0000.00816.95
8.0.150.0040.00416.91
8.0.140.0040.00416.80
8.0.130.0000.00513.31
8.0.120.0080.00016.93
8.0.110.0030.00516.88
8.0.100.0040.00416.79
8.0.90.0070.00016.90
8.0.80.0040.01116.95
8.0.70.0050.00316.91
8.0.60.0050.00216.91
8.0.50.0040.00416.96
8.0.30.0130.00617.02
8.0.20.0090.00917.40
8.0.10.0040.00416.92
8.0.00.0060.01116.71
7.4.330.0000.00515.00
7.4.320.0000.00616.52
7.4.300.0000.00716.45
7.4.290.0040.00416.48
7.4.280.0000.00816.52
7.4.270.0000.00616.41
7.4.260.0030.00316.52
7.4.250.0000.00716.59
7.4.240.0040.00316.51
7.4.230.0040.00416.67
7.4.220.0060.00916.69
7.4.210.0040.01116.56
7.4.200.0040.00416.65
7.4.190.0000.00716.78
7.4.160.0090.00916.48
7.4.150.0130.00317.40
7.4.140.0200.00817.86
7.4.130.0120.00516.49
7.4.120.0070.01016.43
7.4.110.0000.01616.40
7.4.100.0040.01416.56
7.4.90.0100.00716.60
7.4.80.0030.01919.39
7.4.70.0140.00416.52
7.4.60.0130.00316.62
7.4.50.0050.00316.39
7.4.40.0060.00922.77
7.4.30.0070.01016.64
7.4.00.0070.01014.94
7.3.330.0020.00213.23
7.3.320.0060.00013.02
7.3.310.0040.00416.25
7.3.300.0030.00316.34
7.3.290.0070.00716.39
7.3.280.0100.00616.35
7.3.270.0120.00617.40
7.3.260.0090.00916.27
7.3.250.0080.01216.47
7.3.240.0120.00916.34
7.3.230.0130.01016.39
7.3.210.0180.00716.23
7.3.200.0130.01019.39
7.3.190.0040.01516.38
7.3.180.0040.01116.45
7.3.170.0090.01216.42
7.3.160.0090.00616.30
7.3.120.0050.01314.71
7.3.110.0100.00714.67
7.3.100.0080.00814.66
7.3.90.0000.01214.72
7.3.80.0000.01514.91
7.3.70.0030.01214.70
7.3.60.0060.00914.43
7.3.50.0030.01314.78
7.3.40.0030.00714.59
7.3.30.0040.00814.89
7.3.20.0080.00616.36
7.3.10.0110.00416.52
7.3.00.0030.01016.67
7.2.330.0120.00916.48
7.2.320.0150.00916.49
7.2.310.0070.01016.74
7.2.300.0140.00316.50
7.2.290.0070.01016.63
7.2.250.0070.00814.76
7.2.240.0060.01214.87
7.2.230.0090.00614.86
7.2.220.0090.00315.05
7.2.210.0060.00915.15
7.2.200.0000.01414.92
7.2.190.0070.00714.94
7.2.180.0140.00014.95
7.2.170.0110.00015.04
7.2.60.0000.01316.95
7.2.00.0060.00919.48
7.1.330.0090.00415.47
7.1.320.0030.01015.72
7.1.310.0090.00916.02
7.1.300.0040.00715.67
7.1.290.0060.00615.69
7.1.280.0000.01215.53
7.1.270.0040.00815.52
7.1.260.0060.00815.75
7.1.200.0030.00615.59
7.1.70.0000.01617.16
7.1.60.0000.01216.88
7.1.50.0090.01217.07
7.1.00.0030.07322.41
7.0.200.0040.00816.80
7.0.140.0070.06722.12
7.0.60.0100.08020.01
7.0.50.0000.08717.89
7.0.40.0100.04020.24
7.0.30.0400.04720.18
7.0.20.0230.04020.00
7.0.10.0100.05720.30
7.0.00.0100.05020.19
5.6.280.0070.07020.91
5.6.210.0100.07720.65
5.6.200.0030.04318.19
5.6.190.0100.08320.57
5.6.180.0330.07720.36
5.6.170.0270.06720.46
5.6.160.0030.08320.52
5.6.150.0030.05718.16
5.6.140.0070.08018.14
5.6.130.0030.07318.22
5.6.120.0130.08321.15
5.6.110.0130.08020.99
5.6.100.0100.07021.04
5.6.90.0100.07721.04
5.6.80.0030.09020.41
5.5.350.0030.08020.47
5.5.340.0070.03718.00
5.5.330.0030.05020.14
5.5.320.0330.06720.24
5.5.310.0300.07720.12
5.5.300.0070.04318.02
5.5.290.0170.07718.02
5.5.280.0030.06720.74
5.5.270.0070.05020.88
5.5.260.0070.09020.85
5.5.250.0030.04020.68
5.5.240.0370.06320.27
5.4.450.0170.04019.55
5.4.440.0200.06319.41
5.4.430.0230.07319.13
5.4.420.0270.03019.38
5.4.410.0230.07019.44
5.4.400.0300.05019.10
5.4.390.0270.04019.13
5.4.380.0300.07019.09
5.4.370.0200.07018.94
5.4.360.0200.03718.79
5.4.350.0300.04718.88
5.4.340.0270.05019.09
5.4.320.0230.07319.25
5.4.310.0230.04719.16
5.4.300.0300.04319.06
5.4.290.0270.05719.04
5.4.280.0230.06018.80
5.4.270.0270.05018.78
5.4.260.0130.05018.95
5.4.250.0270.03719.05
5.4.240.0130.04019.05
5.4.230.0200.04319.08
5.4.220.0200.04318.88
5.4.210.0230.07319.09
5.4.200.0170.06319.23
5.4.190.0170.05019.23
5.4.180.0170.04719.12
5.4.170.0330.06718.90
5.4.160.0270.07019.17
5.4.150.0270.07018.79
5.4.140.0300.06016.30
5.4.130.0230.06316.37
5.4.120.0270.05016.22
5.4.110.0230.03316.25
5.4.100.0270.03316.50
5.4.90.0200.03316.29
5.4.80.0230.05716.42
5.4.70.0330.05316.31
5.4.60.0300.04016.22
5.4.50.0200.07016.47
5.4.40.0200.05016.41
5.4.30.0170.08316.49
5.4.20.0170.03716.49
5.4.10.0330.06716.16
5.4.00.0200.04015.83
5.3.290.0230.07014.66
5.3.280.0230.06014.72
5.3.270.0200.03714.67
5.3.260.0300.05014.50
5.3.250.0270.07014.62
5.3.240.0130.08314.50
5.3.230.0200.06314.50
5.3.220.0200.04014.64
5.3.210.0130.04314.59
5.3.200.0200.04314.44
5.3.190.0230.03314.65
5.3.180.0270.06714.70
5.3.170.0300.05014.57
5.3.160.0400.05314.55
5.3.150.0230.07314.59
5.3.140.0200.05014.50
5.3.130.0230.05714.45
5.3.120.0200.03714.46
5.3.110.0130.04314.43
5.3.100.0200.07313.92
5.3.90.0230.06313.96
5.3.80.0170.05014.11
5.3.70.0200.03713.91
5.3.60.0230.06013.99
5.3.50.0170.07313.86
5.3.40.0170.05014.08
5.3.30.0230.04713.90
5.3.20.0300.06713.51
5.3.10.0270.06713.53
5.3.00.0230.07313.63
5.2.170.0300.04712.91
5.2.160.0130.03712.91
5.2.150.0200.05712.91
5.2.140.0170.05712.91
5.2.130.0170.05012.91
5.2.120.0200.05012.91
5.2.110.0270.04012.91
5.2.100.0170.06012.91
5.2.90.0270.04712.91
5.2.80.0170.04012.91
5.2.70.0230.06012.91
5.2.60.0200.04712.97
5.2.50.0200.05712.99
5.2.40.0170.04313.05
5.2.30.0170.04013.07
5.2.20.0130.03713.11
5.2.10.0300.05013.11
5.2.00.0270.03313.11
5.1.60.0130.02713.11
5.1.50.0200.02313.11
5.1.40.0130.03313.11
5.1.30.0130.03713.11
5.1.20.0170.02713.11
5.1.10.0200.02713.11
5.1.00.0170.03313.11
5.0.50.0130.04313.11
5.0.40.0100.01713.11
5.0.30.0130.03713.11
5.0.20.0100.03713.11
5.0.10.0070.04013.11
5.0.00.0130.06313.11
4.4.90.0100.02312.97
4.4.80.0170.02712.99
4.4.70.0030.03013.11
4.4.60.0070.03013.11
4.4.50.0100.03013.11
4.4.40.0070.02713.11
4.4.30.0070.02713.11
4.4.20.0070.02313.11
4.4.10.0030.02713.11
4.4.00.0100.04713.11
4.3.110.0070.02313.11
4.3.100.0030.03713.11
4.3.90.0100.03713.11
4.3.80.0100.04013.11
4.3.70.0070.02013.11
4.3.60.0030.02313.11
4.3.50.0100.03313.11
4.3.40.0070.03313.11
4.3.30.0030.01713.11
4.3.20.0070.01313.11
4.3.10.0000.02713.11
4.3.00.0070.02013.11

preferences:
53.79 ms | 401 KiB | 5 Q