3v4l.org

run code in 300+ PHP versions simultaneously
<?php $serialized_data = 'O:16:"ViaEuropaService":37:{s:17:"*service_params";a:10:{s:5:"insee";s:5:"75056";s:5:"price";s:2:"15";s:7:"country";s:3:"all";s:4:"lang";s:2:"en";s:10:"fromrownum";i:1;s:8:"torownum";i:15;s:4:"desc";s:3:"yes";s:6:"withXY";s:3:"yes";s:3:"xyf";s:1:"1";s:4:"html";s:3:"yes";}s:14:"*param_names";a:24:{i:0;s:4:"ckid";i:1;s:4:"lang";i:2;s:5:"nbmax";i:3;s:7:"country";i:4;s:6:"withXY";i:5;s:3:"xyf";i:6;s:4:"desc";i:7;s:6:"region";i:8;s:4:"html";i:9;s:5:"nbmax";i:10;s:11:"placelistid";i:11;s:4:"city";i:12;s:4:"lang";i:13;s:16:"leadingcommentid";i:14;s:8:"category";i:15;s:4:"mood";i:16;s:11:"subcategory";i:17;s:10:"gastronomy";i:18;s:5:"price";i:19;s:11:"subcategory";i:20;s:10:"fromrownum";i:21;s:8:"torownum";i:22;s:5:"insee";i:23;s:10:"districtid";}s:26:"ViaEuropaServiceposition";i:0;s:36:"ViaEuropaServiceiterating_elements";a:0:{}s:12:"machine_name";s:18:"via_europa_service";s:11:"description";s:35:"Service to call info from viaeuropa";s:4:"pool";s:12:"recette2_ptp";s:9:"processor";O:30:"ViaEuropaMessageQueueProcessor":2:{s:43:"MessageQueueSimpleXmlProcessorprettyPrint";b:1;s:46:"DrupalMessageQueueProcessorfilterEmptyValues";b:1;}s:5:"cache";s:2:"30";s:4:"stub";s:1:"0";s:7:"timeout";s:2:"45";s:5:"debug";s:1:"0";s:13:"logging_level";s:1:"0";s:5:"queue";a:2:{s:7:"request";s:50:"http://webservices.viafrance.com/getplacelist.aspx";s:8:"response";s:0:"";}s:9:"*params";a:0:{}s:10:"*message";a:11:{s:4:"ckid";s:10:"20017DA104";s:4:"html";s:3:"yes";s:5:"insee";s:5:"75056";s:5:"price";s:2:"15";s:7:"country";s:3:"all";s:4:"lang";s:2:"en";s:10:"fromrownum";i:1;s:8:"torownum";i:15;s:4:"desc";s:3:"yes";s:6:"withXY";s:3:"yes";s:3:"xyf";s:1:"1";}s:10:"*headers";a:0:{}s:11:"*response";N;s:14:"*rawResponse";O:8:"stdClass":2:{s:4:"body";s:125:"<?xml version="1.0" encoding="utf-8"?><viaResult Count="0"> <Language>GB</Language><Status>-1</Status></viaResult>";s:4:"data";a:2:{s:12:"request_info";a:21:{s:3:"url";s:167:"http://webservices.viafrance.com/getplacelist.aspx?ckid=20017DA104&html=yes&insee=75056&price=15&country=all&lang=en&fromrownum=1&torownum=15&desc=yes&withXY=yes&xyf=1";s:12:"content_type";s:23:"text/xml; charset=utf-8";s:9:"http_code";i:200;s:11:"header_size";i:246;s:12:"request_size";i:198;s:8:"filetime";i:-1;s:17:"ssl_verify_result";i:0;s:14:"redirect_count";i:0;s:10:"total_time";d:0.01045399999999999975097697557657738798297941684722900390625;s:15:"namelookup_time";d:2.099999999999999883795211153003634763081208802759647369384765625E-5;s:12:"connect_time";d:2.099999999999999883795211153003634763081208802759647369384765625E-5;s:16:"pretransfer_time";d:2.19999999999999994279749337966478606176679022610187530517578125E-5;s:11:"size_upload";d:0;s:13:"size_download";d:125;s:14:"speed_download";d:11957;s:12:"speed_upload";d:0;s:23:"download_content_length";d:125;s:21:"upload_content_length";d:0;s:18:"starttransfer_time";d:0.0104349999999999998312461002569762058556079864501953125;s:13:"redirect_time";d:0;s:8:"certinfo";a:0:{}}s:16:"request_response";s:125:"<?xml version="1.0" encoding="utf-8"?><viaResult Count="0"> <Language>GB</Language> <Status>-1</Status></viaResult>";}}s:13:"*rawRequest";a:11:{s:4:"ckid";s:10:"20017DA104";s:4:"html";s:3:"yes";s:5:"insee";s:5:"75056";s:5:"price";s:2:"15";s:7:"country";s:3:"all";s:4:"lang";s:2:"en";s:10:"fromrownum";i:1;s:8:"torownum";i:15;s:4:"desc";s:3:"yes";s:6:"withXY";s:3:"yes";s:3:"xyf";s:1:"1";}s:16:"*correlationId";s:17:"WWW-5374afc034ea4";s:13:"*other_data";N;s:15:"*brokerConfig";O:30:"DrupalMessageQueueBrokerConfig":9:{s:12:"requestQueue";s:50:"http://webservices.viafrance.com/getplacelist.aspx";s:13:"responseQueue";s:0:"";s:17:"*responseSource";s:5:"CACHE";s:7:"timeout";s:2:"45";s:11:"cacheStatus";b:1;s:8:"cacheKey";s:51:"via_europa_service:02c71a8177f82178fb14f6191086abf0";s:8:"cacheTTL";s:2:"30";s:4:"stub";s:1:"0";s:12:"stubLocation";s:119:"/srv/eurostar/htdocs/profiles/eurostar/modules/custom/interaction/modules/via_europa_service/services/stubs/default.xml";}s:16:"*stub_location";N;s:16:"*pool_instance";O:34:"DrupalMessageQueuePointToPointPool":11:{s:12:"machine_name";s:12:"recette2_ptp";s:11:"description";s:49:"Development pool for point-to-point curl services";s:12:"distribution";i:0;s:10:"*brokers";a:1:{i:0;O:28:"DrupalMessageQueueCurlBroker":9:{s:29:"*basicAuthorizationRequired";b:0;s:11:"*username";N;s:11:"*password";N;s:13:"*curlHandle";N;s:16:"*requestMethod";N;s:44:"DrupalMessageQueueCurlBrokerrequestMessage";a:11:{s:4:"ckid";s:10:"20017DA104";s:4:"html";s:3:"yes";s:5:"insee";s:5:"75056";s:5:"price";s:2:"15";s:7:"country";s:3:"all";s:4:"lang";s:2:"en";s:10:"fromrownum";i:1;s:8:"torownum";i:15;s:4:"desc";s:3:"yes";s:6:"withXY";s:3:"yes";s:3:"xyf";s:1:"1";}s:44:"DrupalMessageQueueCurlBrokerrequestHeaders";a:0:{}s:33:"DrupalMessageQueueBrokertimeout";s:2:"45";s:11:"*requests";a:0:{}}}s:8:"disabled";b:0;s:11:"api_version";i:1;s:13:"export_module";s:11:"interaction";s:4:"type";s:7:"Default";s:11:"export_type";i:2;s:12:"in_code_only";b:1;s:5:"table";s:17:"messagequeue_pool";}s:42:"DrupalMessageQueueServicelogger_disabled";N;s:40:"DrupalMessageQueueServicepool_instance";N;s:41:"DrupalMessageQueueServiceresponseSource";N;s:8:"disabled";b:0;s:11:"api_version";i:1;s:10:"base_class";s:16:"ViaEuropaService";s:5:"table";s:20:"messagequeue_service";s:4:"type";s:10:"Overridden";s:11:"export_type";i:3;s:13:"export_module";s:18:"via_europa_service";s:4:"sort";s:8:"evttitle";s:12:"showcountmax";s:3:"yes";}'; $data = unserialize($serialized_data); var_dump($data);

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.40.0040.01218.75
8.3.30.0070.00718.73
8.3.20.0080.00018.63
8.3.10.0040.00421.11
8.3.00.0060.00323.48
8.2.170.0110.00322.96
8.2.160.0100.00320.38
8.2.150.0040.00424.18
8.2.140.0070.00024.66
8.2.130.0050.00326.16
8.2.120.0060.00319.54
8.2.110.0060.00320.35
8.2.100.0080.00417.71
8.2.90.0040.00419.14
8.2.80.0030.00617.97
8.2.70.0040.00417.50
8.2.60.0060.00317.91
8.2.50.0040.00418.07
8.2.40.0040.00418.09
8.2.30.0000.00821.32
8.2.20.0050.00517.61
8.2.10.0040.00417.57
8.2.00.0040.00417.58
8.1.270.0050.00223.99
8.1.260.0000.00826.35
8.1.250.0040.00428.09
8.1.240.0090.00022.47
8.1.230.0070.00320.92
8.1.220.0040.00418.77
8.1.210.0000.00818.79
8.1.200.0030.00617.25
8.1.190.0040.00417.39
8.1.180.0040.00418.10
8.1.170.0040.00418.56
8.1.160.0040.00418.89
8.1.150.0070.00018.70
8.1.140.0040.00417.34
8.1.130.0000.00717.80
8.1.120.0000.00717.32
8.1.110.0030.00617.39
8.1.100.0000.00717.47
8.1.90.0040.00417.39
8.1.80.0040.00417.45
8.1.70.0000.00717.30
8.1.60.0030.00617.45
8.1.50.0040.00417.43
8.1.40.0040.00417.52
8.1.30.0070.00017.66
8.1.20.0030.00517.47
8.1.10.0040.00417.46
8.1.00.0000.00917.34
8.0.300.0070.00020.04
8.0.290.0000.00717.05
8.0.280.0030.00318.40
8.0.270.0040.00417.21
8.0.260.0030.00316.89
8.0.250.0040.00416.86
8.0.240.0060.00316.98
8.0.230.0020.00516.97
8.0.220.0030.00616.87
8.0.210.0070.00016.80
8.0.200.0070.00017.04
8.0.190.0000.00716.85
8.0.180.0070.00016.94
8.0.170.0000.00816.83
8.0.160.0030.00316.91
8.0.150.0030.00516.88
8.0.140.0000.00816.92
8.0.130.0000.00613.34
8.0.120.0000.00716.87
8.0.110.0030.00516.84
8.0.100.0000.00716.81
8.0.90.0000.00716.93
8.0.80.0050.01216.93
8.0.70.0070.00016.90
8.0.60.0040.00416.87
8.0.50.0000.00716.74
8.0.30.0120.00717.04
8.0.20.0120.00717.40
8.0.10.0000.00817.04
8.0.00.0070.01116.68
7.4.330.0050.00014.82
7.4.320.0060.00016.46
7.4.300.0030.00316.56
7.4.290.0000.00716.60
7.4.280.0070.00016.51
7.4.270.0040.00416.40
7.4.260.0000.00513.28
7.4.250.0040.00416.51
7.4.240.0030.00516.57
7.4.230.0050.00316.58
7.4.220.0130.00516.52
7.4.210.0040.01116.47
7.4.200.0030.00316.36
7.4.190.0030.00316.51
7.4.160.0170.00316.48
7.4.150.0120.00617.40
7.4.140.0080.01017.86
7.4.130.0090.01016.58
7.4.120.0080.00816.47
7.4.110.0070.01016.58
7.4.100.0030.01516.42
7.4.90.0200.00316.31
7.4.80.0110.00619.37
7.4.70.0160.00716.31
7.4.60.0130.00316.39
7.4.50.0060.00316.36
7.4.40.0130.00322.52
7.4.30.0130.00316.68
7.4.00.0050.01314.82
7.3.330.0030.00313.07
7.3.320.0050.00013.16
7.3.310.0000.00716.32
7.3.300.0000.00716.25
7.3.290.0150.00416.22
7.3.280.0080.00716.22
7.3.270.0130.00317.40
7.3.260.0120.00818.24
7.3.250.0070.01216.21
7.3.240.0120.00616.25
7.3.230.0120.00916.39
7.3.210.0100.00916.26
7.3.200.0120.00619.39
7.3.190.0090.01016.26
7.3.180.0040.01216.30
7.3.170.0110.00716.27
7.3.160.0070.01016.24
7.3.120.0120.00214.71
7.3.110.0070.00714.61
7.3.100.0080.00814.75
7.3.90.0070.01014.98
7.3.80.0030.01314.69
7.3.70.0090.00614.75
7.3.60.0130.00014.75
7.3.50.0090.00614.76
7.3.40.0080.00314.69
7.3.30.0100.00314.62
7.3.20.0030.00516.63
7.3.10.0050.00916.38
7.3.00.0070.00716.29
7.2.330.0110.00816.40
7.2.320.0170.00316.32
7.2.310.0060.01516.57
7.2.300.0070.01016.22
7.2.290.0130.00716.68
7.2.250.0080.01114.79
7.2.240.0070.01014.96
7.2.230.0090.00415.16
7.2.220.0130.00614.89
7.2.210.0070.00715.13
7.2.200.0000.01414.73
7.2.190.0080.00614.88
7.2.180.0060.00914.92
7.2.170.0000.00814.79
7.2.130.0060.00916.62
7.2.120.0070.00716.68
7.2.110.0150.00516.81
7.2.100.0090.00916.62
7.2.90.0140.00916.87
7.2.80.0100.01216.66
7.2.70.0110.00716.80
7.2.60.0080.00616.69
7.2.50.0100.00516.65
7.2.40.0080.00516.53
7.2.30.0020.01116.80
7.2.20.0110.00416.69
7.2.10.0090.00516.61
7.2.00.0100.00817.63
7.1.330.0040.01115.59
7.1.320.0040.00415.73
7.1.310.0000.01115.84
7.1.300.0040.00815.73
7.1.290.0070.00715.56
7.1.280.0040.00815.78
7.1.270.0070.00415.53
7.1.260.0090.00615.77
7.1.250.0040.01215.66
7.1.240.0160.01115.91
7.1.230.0150.00815.61
7.1.220.0110.01115.69
7.1.210.0150.00815.43
7.1.200.0100.00815.78
7.1.190.0100.01015.60
7.1.180.0090.01515.77
7.1.170.0080.00815.83
7.1.160.0100.00315.47
7.1.150.0060.00915.36
7.1.140.0100.00315.55
7.1.130.0090.00615.27
7.1.120.0120.00315.44
7.1.110.0040.01115.77
7.1.100.0050.00916.89
7.1.90.0050.00815.65
7.1.80.0100.00315.79
7.1.70.0050.00516.46
7.1.60.0080.00917.43
7.1.50.0080.00816.07
7.1.40.0060.00615.78
7.1.30.0120.00615.65
7.1.20.0080.00515.39
7.1.10.0070.00715.76
7.1.00.0050.04318.96
7.0.330.0090.00615.16
7.0.320.0160.01315.21
7.0.310.0200.00815.29
7.0.300.0040.01115.39
7.0.290.0140.00315.13
7.0.280.0040.01215.38
7.0.270.0080.00415.16
7.0.260.0100.00715.12
7.0.250.0110.00715.27
7.0.240.0090.00615.26
7.0.230.0040.01115.23
7.0.220.0090.00615.25
7.0.210.0080.00414.78
7.0.200.0050.00714.75
7.0.190.0050.00915.17
7.0.180.0110.00415.14
7.0.170.0100.00715.34
7.0.160.0060.00615.16
7.0.150.0090.00615.29
7.0.140.0070.03918.62
7.0.130.0140.00315.06
7.0.120.0090.00915.35
7.0.110.0130.00715.20
7.0.100.0070.00315.21
7.0.90.0070.00715.07
7.0.80.0310.03417.59
7.0.70.0350.04717.35
7.0.60.0300.03217.53
7.0.50.0360.04617.68
7.0.40.0150.03716.69
7.0.30.0030.05216.44
7.0.20.0100.04016.57
7.0.10.0070.02716.64
7.0.00.0060.04516.65
5.6.380.0040.01113.93
5.6.370.0140.00714.47
5.6.360.0080.00413.74
5.6.350.0120.00214.03
5.6.340.0030.00513.85
5.6.330.0060.00314.19
5.6.320.0000.01014.15
5.6.310.0080.00314.09
5.6.300.0040.00713.84
5.6.290.0040.01113.88
5.6.280.0050.03817.58
5.6.270.0130.00314.12
5.6.260.0030.01014.13
5.6.250.0060.00914.32
5.6.240.0040.01214.18
5.6.230.0040.04817.54
5.6.220.0050.03717.19
5.6.210.0070.04517.19
5.6.200.0060.04217.48
5.6.190.0080.04317.38
5.6.180.0140.03917.49
5.6.170.0070.03517.50
5.6.160.0030.03017.43
5.6.150.0050.04717.62
5.6.140.0100.04217.68
5.6.130.0030.03917.65
5.6.120.0040.03917.61
5.6.110.0070.03917.42
5.6.100.0060.03017.67
5.6.90.0000.04917.47
5.6.80.0030.04417.14
5.6.70.0020.04517.10
5.6.60.0070.02217.23
5.6.50.0080.04317.21
5.6.40.0050.04417.02
5.6.30.0080.04017.13
5.6.20.0030.04817.18
5.6.10.0070.04317.15
5.6.00.0060.04417.15
5.5.380.0000.00610.76
5.5.370.0050.04415.61
5.5.360.0060.04515.62
5.5.350.0120.04015.72
5.5.340.0030.02815.85
5.5.330.0040.02515.83
5.5.320.0010.03116.01
5.5.310.0080.03615.87
5.5.300.0020.03715.71
5.5.290.0050.02515.87
5.5.280.0070.03515.76
5.5.270.0080.03315.61
5.5.260.0030.03015.72
5.5.250.0050.04715.55
5.5.240.0050.02715.47
5.5.230.0080.04115.42
5.5.220.0030.03515.34
5.5.210.0110.02515.38
5.5.200.0030.04715.37
5.5.190.0080.03815.27
5.5.180.0080.03815.45
5.5.170.0000.00810.39
5.5.160.0070.03715.42
5.5.150.0050.03615.41
5.5.140.0050.02215.36
5.5.130.0050.04315.45
5.5.120.0070.04015.35
5.5.110.0020.03615.40
5.5.100.0050.03215.43
5.5.90.0050.04115.36
5.5.80.0030.03015.50
5.5.70.0070.02515.44
5.5.60.0070.02215.39
5.5.50.0020.04515.45
5.5.40.0090.04015.34
5.5.30.0050.04515.47
5.5.20.0080.02515.47
5.5.10.0090.04015.53
5.5.00.0100.03815.27
5.4.450.0030.04315.19
5.4.440.0120.04215.10
5.4.430.0060.04215.22
5.4.420.0100.03514.87
5.4.410.0080.02314.83
5.4.400.0020.02514.98
5.4.390.0090.03814.81
5.4.380.0050.03014.72
5.4.370.0070.03715.00
5.4.360.0050.04214.73
5.4.350.0100.03614.60
5.4.340.0050.04015.01
5.4.330.0040.00411.05
5.4.320.0100.04114.98
5.4.310.0070.02714.78
5.4.300.0000.02614.92
5.4.290.0100.03515.02
5.4.280.0070.03814.84
5.4.270.0050.04214.84
5.4.260.0030.02614.84
5.4.250.0070.02114.64
5.4.240.0100.03714.71
5.4.230.0020.04314.89
5.4.220.0050.03814.79
5.4.210.0100.03614.80
5.4.200.0060.03614.86
5.4.190.0100.03614.89
5.4.180.0080.03614.79
5.4.170.0030.02714.61
5.4.160.0020.02514.91
5.4.150.0070.04014.82
5.4.140.0050.02213.57
5.4.130.0120.03313.59
5.4.120.0000.04413.47
5.4.110.0030.02613.59
5.4.100.0070.02913.54
5.4.90.0050.02613.71
5.4.80.0050.03913.47
5.4.70.0050.02913.44
5.4.60.0060.04113.62
5.4.50.0050.03513.63
5.4.40.0030.03113.54
5.4.30.0070.03913.50
5.4.20.0050.02313.52
5.4.10.0080.03313.54
5.4.00.0050.03913.47
5.3.290.0080.03713.33
5.3.280.0050.02613.14
5.3.270.0070.03813.21
5.3.260.0050.02213.28
5.3.250.0070.03713.27
5.3.240.0070.02013.15
5.3.230.0020.04413.21
5.3.220.0030.04213.26
5.3.210.0070.03013.29
5.3.200.0070.04013.27
5.3.190.0000.02913.34
5.3.180.0030.04013.42
5.3.170.0100.02013.34
5.3.160.0070.02413.27
5.3.150.0110.02413.39
5.3.140.0050.03713.29
5.3.130.0050.02813.34
5.3.120.0050.04313.37
5.3.110.0090.04213.24
5.3.100.0050.04013.29
5.3.90.0050.04413.37
5.3.80.0070.03913.21
5.3.70.0050.03513.22
5.3.60.0080.03813.33
5.3.50.0090.02413.23
5.3.40.0060.03713.21
5.3.30.0050.04013.25
5.3.20.0050.03913.30
5.3.10.0040.03813.10
5.3.00.0100.02313.21
5.2.170.0050.02112.82
5.2.160.0030.03512.82
5.2.150.0030.03612.82
5.2.140.0030.03412.82
5.2.130.0030.03312.82
5.2.120.0020.02312.82
5.2.110.0030.03612.84
5.2.100.0070.02512.87
5.2.90.0050.03312.85
5.2.80.0020.02712.83
5.2.70.0050.03212.86
5.2.60.0090.03012.82
5.2.50.0030.03612.82
5.2.40.0000.03612.82
5.2.30.0050.02012.82
5.2.20.0040.03212.82
5.2.10.0030.03012.82
5.2.00.0080.01512.82
5.1.60.0030.01612.82
5.1.50.0070.01912.82
5.1.40.0060.02712.82
5.1.30.0050.02312.82
5.1.20.0050.01812.82
5.1.10.0060.02512.82
5.1.00.0040.03112.82
5.0.50.0070.01712.82
5.0.40.0050.02012.82
5.0.30.0030.03512.82
5.0.20.0040.02212.82
5.0.10.0090.01512.82
5.0.00.0030.03312.82
4.4.90.0030.01912.82
4.4.80.0050.01712.82
4.4.70.0030.01812.82
4.4.60.0020.02012.82
4.4.50.0060.01512.82
4.4.40.0040.02512.82
4.4.30.0040.01512.82
4.4.20.0050.01712.82
4.4.10.0050.01912.82
4.4.00.0030.02812.82
4.3.110.0020.01512.82
4.3.100.0050.01412.82
4.3.90.0030.01512.82
4.3.80.0020.02712.82
4.3.70.0010.01912.82
4.3.60.0020.01512.82
4.3.50.0030.01012.82
4.3.40.0000.01712.82
4.3.30.0000.02212.82
4.3.20.0020.01312.82
4.3.10.0010.01912.82
4.3.00.0020.01512.82

preferences:
45.84 ms | 400 KiB | 5 Q