3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xml = '<?xml version="1.0" encoding="UTF-8" standalone="no"?> <!-- Generator: Adobe Illustrator 14.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 43363) --> <svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" id="body_svg" version="1.1" x="0px" y="0px" preserveAspectRatio="xMinYMin meet" viewBox="0 0 600 800" inkscape:version="0.48.4 r9939" width="100%" height="100%" sodipodi:docname="body_def.svg"> <metadata id="metadata3037"> <rdf:RDF> <cc:Work rdf:about=""> <dc:format>image/svg+xml</dc:format> <dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> <dc:title></dc:title> </cc:Work> </rdf:RDF> </metadata> <defs id="defs3035" /> <sodipodi:namedview pagecolor="#ffffff" bordercolor="#666666" borderopacity="1" objecttolerance="10" gridtolerance="10" guidetolerance="10" inkscape:pageopacity="0" inkscape:pageshadow="2" inkscape:window-width="1366" inkscape:window-height="746" id="namedview3033" showgrid="false" inkscape:zoom="2.795" inkscape:cx="401.80644" inkscape:cy="509.1414" inkscape:window-x="-8" inkscape:window-y="-8" inkscape:window-maximized="1" inkscape:current-layer="body_group_1" /> <g id="body_group_1"> <g id="g3014"> <path id="right_head" fill="none" stroke="#000000" stroke-linecap="round" d="M294.526,24.076c0,0-9.846-1.224-12.697,0.331 s-8.033,4.405-11.143,7.515s-12.697,9.846-14.251,15.806s2.332,20.729,2.332,20.729s-4.634-2.422-5.701,1.296 s2.073,10.365,2.851,16.065s2.851,10.365,5.701,11.919s2.85,1.555,2.85,1.555s1.296,14.77,3.369,17.361 c0.34,0.425,0.624,0.781,0.862,1.078c1.211,1.514,1.211,1.514,1.211,1.514s1.555,7.514,0.519,9.328s-1.555,5.442-19.693,15.029 c-8.827,4.267-9.045,4.375-16.358,5.577" /> <path id="left_waist" d="M 367.044,419.509 C 367.243,416.06 367.353,412.968 367.353,410.363 367.353,389.618 363.629,382.704 362.565,375.789 361.502,368.874 360.509,353.895 359.445,344.852 357.487,338.648 357.519,335.914 355.119,328.448 352.719,320.982 383.395,296.64727 383.395,291.63468 383.395,286.62209 360.969,273.129 364.694,258.767 367.956,246.184 368.077,231.654 368.056,228.25 368.053,227.769 368.047,227.51 368.047,227.51" inkscape:connector-curvature="0" style="fill:none;stroke:#000000;stroke-linecap:round" sodipodi:nodetypes="csccssccc" /> <path id="left_foot" fill="none" stroke="#000000" stroke-linecap="round" d="M298.299,429.969c0.197,9.981,0.697,31.654,1.5,42.101 c1.064,13.83,4.255,30.851,5.851,40.425s-1.064,14.36-1.596,24.999c-0.533,10.639-0.532,25-3.724,35.105 s9.574,33.511,9.042,38.299c-0.531,4.788-7.446,22.872-7.446,31.383s10.638,34.042,10.106,44.681s-2.66,21.809-2.66,29.255 s-1.596,18.085-4.787,22.873c-3.191,4.788,3.191,12.233,3.191,12.233s-2.659,12.234-1.596,15.958 c1.064,3.724,23.404,2.659,23.404,2.659l27.66-2.128c0,0,0-2.659-4.256-5.851c-4.255-3.191-7.446-2.66-7.446-2.66s0,0-3.724-4.787 s-9.574-11.17-11.702-18.616s10.106-42.554,13.298-56.384s9.043-35.104,9.043-48.935s-7.447-55.852-7.447-67.021 s6.915-45.746,11.17-63.299c3.722-15.349,9.477-56.729,10.862-80.75" /> <path id="joint0" fill="none" stroke="#000000" stroke-linecap="round" d="M298.142,423.819c0,0,0.093,2.916,0.157,6.149" /> <path id="right_chest" fill="none" stroke="#000000" stroke-linecap="round" d="M370.994,207.239c0,0-0.836,7.046-1.819,10.068 c-0.075,0.232-0.151,0.44-0.229,0.62c-0.103,0.241-0.207,0.43-0.311,0.555c-1.197,1.44-13.881,15.191-17.911,16.495 s-16.478,1.067-20.863,0.593s-10.432-8.772-11.854-9.839" /> <path id="left_chest" fill="none" stroke="#000000" stroke-linecap="round" d="M219.979,207.588c0.31,2.786,1.19,9.455,2.386,10.895 s13.88,15.191,17.911,16.495s16.477,1.067,20.863,0.593s10.432-8.772,11.854-9.839" /> <path id="joint1" fill="none" stroke="#000000" stroke-linecap="round" d="M367.629,219.523" /> </g> <path id="joint2" fill="none" stroke="#000000" stroke-linecap="round" d="M58.345,219.523" /> <path id="left_arm" d="M354.613,149.458c0,0,17.866-3.883,23.691-3.107 s27.186,7.379,31.847,7.379s18.254-2.719,23.691-1.165s23.303,5.438,23.303,5.438s1.166-6.603-0.776-17.089 s-4.272-31.459-9.321-42.333s-8.545-19.418-12.04-20.972s-7.769-2.719-10.875-2.719s-4.66,1.554-7.379,1.942 s-6.215-3.107-10.486-2.719s-10.098,3.107-11.263,1.165s-0.776-7.379-0.776-7.379s-1.942-2.719-1.942-4.272 s5.437-12.817,7.379-16.312s4.273-7.768,8.545-5.826s25.633,9.709,30.682,12.428s13.593,8.933,15.535,11.651 s8.156,19.419,13.205,26.021s18.643,31.071,20.973,36.508s11.65,29.128,13.593,34.177s6.604,14.759,5.826,19.031 s-12.816,11.263-19.419,13.981s-29.517,10.098-36.119,11.263s-31.849,1.942-37.285,1.165s-12.428-4.661-17.865-4.661 s-11.65-2.33-16.312,5.438s-12.865,18.29-12.988,19.227" stroke-linecap="round" stroke="#000000" fill="none" /> <path id="right_arm" d="M235.703,149.179c-3.462,0.157-17.46-3.604-23.285-2.828 s-27.186,7.379-31.847,7.379s-18.254-2.719-23.691-1.165s-23.303,5.438-23.303,5.438s-1.166-6.603,0.776-17.089 s4.272-31.459,9.321-42.333s8.545-19.418,12.04-20.972s7.769-2.719,10.875-2.719s4.66,1.554,7.379,1.942s6.215-3.107,10.486-2.719 s10.098,3.107,11.263,1.165s0.776-7.379,0.776-7.379s1.942-2.719,1.942-4.272S193,50.809,191.058,47.314s-4.273-7.768-8.545-5.826 s-25.633,9.709-30.682,12.428s-13.593,8.933-15.535,11.651s-8.156,19.419-13.205,26.021s-18.643,31.071-20.973,36.508 s-11.65,29.128-13.593,34.177s-6.604,14.759-5.826,19.031s12.816,11.263,19.419,13.981s29.517,10.098,36.119,11.263 s31.849,1.942,37.285,1.165s12.428-4.661,17.865-4.661s11.65-2.33,16.312,5.438s10.875,17.089,13.205,20.196" stroke-linecap="round" stroke="#000000" fill="none" /> <g id="g3026"> <path id="left_head" fill="none" stroke="#000000" stroke-linecap="round" d="M295.093,24.076c0,0,10.904-0.833,13.755,0.721 s8.033,4.405,11.143,7.515s12.696,9.846,14.251,15.806s-2.332,20.729-2.332,20.729s4.635-2.422,5.701,1.296 s-2.073,10.365-2.851,16.065s-2.851,10.365-5.701,11.919c-2.85,1.555-2.85,1.555-2.85,1.555s-1.296,14.77-3.369,17.361 c-0.34,0.425-0.624,0.781-0.861,1.078c-1.211,1.514-1.211,1.514-1.211,1.514s-1.556,7.514-0.519,9.328 c1.036,1.814,1.555,5.442,19.693,15.029c8.826,4.267,9.045,4.375,16.358,5.577" /> <path id="right_waist" d="M 223.633,419.899 C 223.434,416.45 223.324,413.358 223.324,410.753 223.324,390.008 227.048,383.094 228.112,376.179 229.175,369.264 230.168,354.285 231.232,345.242 233.19,339.038 233.158,336.304 235.558,328.838 237.958,321.372 207.282,297.25991 207.282,292.24732 207.282,287.23473 229.708,273.519 225.983,259.157 222.721,246.574 224.4,231.543 222.621,228.64 222.005,227.635 222.63,227.9 222.63,227.9" inkscape:connector-curvature="0" style="fill:none;stroke:#000000;stroke-linecap:round" sodipodi:nodetypes="csccssccc" /> <path id="right_foot" fill="none" stroke="#000000" stroke-linecap="round" d="M292.378,430.359c-0.197,9.981-0.697,31.654-1.5,42.101 c-1.064,13.83-4.255,30.851-5.851,40.425s1.064,14.36,1.596,24.999c0.533,10.639,0.532,25,3.724,35.105 s-9.574,33.511-9.042,38.299c0.531,4.788,7.446,22.872,7.446,31.383s-10.638,34.042-10.106,44.681s2.66,21.809,2.66,29.255 s1.596,18.085,4.787,22.873c3.191,4.788-3.191,12.233-3.191,12.233s2.659,12.234,1.596,15.958 c-1.064,3.724-23.404,2.659-23.404,2.659l-27.66-2.128c0,0,0-2.659,4.256-5.851c4.255-3.191,7.446-2.66,7.446-2.66 s0,0,3.724-4.787s9.574-11.17,11.702-18.616s-10.106-42.554-13.298-56.384s-9.043-35.104-9.043-48.935s7.447-55.852,7.447-67.021 s-6.915-45.746-11.17-63.299c-3.722-15.349-9.477-56.729-10.862-80.75" /> <path id="joint3" fill="none" stroke="#000000" stroke-linecap="round" d="M292.602,423.652c0,0-0.16,3.474-0.224,6.707" /> </g> <path id="groin" fill="none" stroke="#000000" stroke-linecap="round" d="M274.659,407.485c0,0,11.642,14.137,16.216,15.384 s8.315,0.416,8.315,0.416l15.384-14.553" /> </g> </svg> '; $xml = simplexml_load_string( $xml); var_dump($xml);

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.0120.00916.88
8.3.50.0170.00517.51
8.3.40.0180.00018.96
8.3.30.0100.00718.97
8.3.20.0060.00318.85
8.3.10.0060.00318.75
8.3.00.0030.00619.50
8.2.180.0100.00717.00
8.2.170.0170.00322.96
8.2.160.0150.00419.20
8.2.150.0060.00324.18
8.2.140.0080.00024.66
8.2.130.0060.00326.16
8.2.120.0060.00320.91
8.2.110.0040.00822.27
8.2.100.0040.01118.09
8.2.90.0040.00418.47
8.2.80.0050.00520.20
8.2.70.0080.00018.00
8.2.60.0060.00317.88
8.2.50.0090.00017.75
8.2.40.0030.00619.73
8.2.30.0090.00018.00
8.2.20.0040.00717.91
8.2.10.0090.00017.96
8.2.00.0060.00617.95
8.1.280.0190.00025.92
8.1.270.0030.00623.99
8.1.260.0060.00326.35
8.1.250.0050.00328.09
8.1.240.0060.00324.25
8.1.230.0100.00321.30
8.1.220.0030.00618.03
8.1.210.0080.00018.97
8.1.200.0040.00417.48
8.1.190.0080.00017.35
8.1.180.0030.00618.10
8.1.170.0080.00018.07
8.1.160.0030.00719.38
8.1.150.0040.00418.88
8.1.140.0060.00317.70
8.1.130.0000.00718.14
8.1.120.0040.00417.79
8.1.110.0050.00317.77
8.1.100.0000.00917.60
8.1.90.0080.00017.75
8.1.80.0040.00417.67
8.1.70.0000.00717.61
8.1.60.0040.00417.84
8.1.50.0040.00417.73
8.1.40.0000.00917.69
8.1.30.0060.00317.89
8.1.20.0030.01017.96
8.1.10.0000.00917.66
8.1.00.0000.00917.80
8.0.300.0040.00420.32
8.0.290.0060.00316.88
8.0.280.0040.00418.64
8.0.270.0040.00417.51
8.0.260.0040.00417.05
8.0.250.0050.00317.09
8.0.240.0000.00817.26
8.0.230.0040.00417.26
8.0.220.0040.00417.11
8.0.210.0040.00417.15
8.0.200.0030.00517.08
8.0.190.0050.00317.30
8.0.180.0040.00717.19
8.0.170.0030.00617.09
8.0.160.0050.00317.21
8.0.150.0060.00317.10
8.0.140.0080.00017.15
8.0.130.0000.00613.49
8.0.120.0030.00617.18
8.0.110.0060.00317.05
8.0.100.0040.00416.95
8.0.90.0040.00417.08
8.0.80.0040.01417.18
8.0.70.0030.00517.09
8.0.60.0030.00517.04
8.0.50.0070.00217.05
8.0.30.0120.00917.34
8.0.20.0120.01117.34
8.0.10.0000.00817.26
8.0.00.0160.01116.87
7.4.330.0000.00513.30
7.4.320.0050.00316.83
7.4.300.0030.00316.72
7.4.290.0050.00316.85
7.4.280.0060.00316.86
7.4.270.0030.00316.69
7.4.260.0070.00013.52
7.4.250.0040.00416.80
7.4.240.0070.00016.70
7.4.230.0000.00816.95
7.4.220.0100.01016.72
7.4.210.0140.01016.92
7.4.200.0000.00816.94
7.4.190.0040.00417.00
7.4.160.0150.00316.71
7.4.150.0090.01416.70
7.4.140.0130.01016.73
7.4.130.0150.00916.66
7.4.120.0130.00916.66
7.4.110.0160.00716.69
7.4.100.0130.01016.76
7.4.90.0130.01016.77
7.4.80.0140.00816.82
7.4.70.0140.01116.79
7.4.60.0080.01216.75
7.4.50.0030.00316.79
7.4.40.0060.00616.75
7.4.30.0130.01316.73
7.4.00.0030.01114.95
7.3.330.0070.00013.26
7.3.320.0040.00413.31
7.3.310.0040.00416.55
7.3.300.0000.00816.46
7.3.290.0080.01216.45
7.3.280.0060.01216.50
7.3.270.0090.01516.59
7.3.260.0180.00316.71
7.3.250.0160.01216.58
7.3.240.0120.00916.32
7.3.230.0230.00616.47
7.3.210.0140.00616.40
7.3.200.0150.01016.81
7.3.190.0090.01216.52
7.3.180.0040.01416.45
7.3.170.0210.00616.86
7.3.160.0090.01016.72
7.3.120.0070.01014.62
7.3.110.0030.00914.70
7.3.100.0030.01314.86
7.3.90.0000.01514.66
7.3.80.0030.01015.10
7.3.70.0030.01314.82
7.3.60.0000.01514.78
7.3.50.0030.00714.80
7.3.40.0030.01314.71
7.3.30.0030.01014.70
7.3.20.0110.00716.70
7.3.10.0070.00716.48
7.3.00.0000.01416.66
7.2.330.0090.01316.74
7.2.320.0120.00916.90
7.2.310.0140.00716.67
7.2.300.0100.01016.55
7.2.290.0120.00816.57
7.2.240.0110.00714.98
7.2.230.0060.01015.00
7.2.220.0060.00915.04
7.2.210.0070.00715.14
7.2.200.0000.01414.87
7.2.190.0090.00614.85
7.2.180.0000.01414.80
7.2.170.0030.01014.96
7.2.160.0040.01114.81
7.2.150.0070.00716.97
7.2.140.0170.01016.79
7.2.130.0130.00316.65
7.2.120.0100.00716.66
7.2.110.0070.00716.71
7.2.100.0120.00316.79
7.2.90.0000.01516.80
7.2.80.0000.01316.77
7.2.70.0030.01316.94
7.2.60.0100.00416.94
7.2.50.0150.00616.92
7.2.40.0150.00317.18
7.2.30.0120.00316.63
7.2.20.0030.01016.75
7.2.10.0060.00916.81
7.2.00.0000.01816.84
7.1.330.0030.00915.88
7.1.320.0040.01415.69
7.1.310.0060.00815.66
7.1.300.0060.00915.75
7.1.290.0080.00815.73
7.1.280.0140.00715.71
7.1.270.0060.00915.70
7.1.260.0090.00715.81
7.1.250.0060.00615.79
7.1.200.0030.00915.73
7.1.70.0100.00517.08
7.1.60.0100.01619.30
7.1.50.0110.01116.82
7.1.00.0070.07322.69
7.0.200.0030.00716.76
7.0.140.0000.07722.21
7.0.120.0070.06722.36
7.0.60.0130.07320.02
7.0.50.0070.04318.08
7.0.40.0100.06320.51
7.0.30.0270.03320.19
7.0.20.0230.04020.13
7.0.10.0400.05020.13
7.0.00.0100.09020.13
5.6.280.0070.07320.93
5.6.210.0030.04020.61
5.6.200.0170.07718.30
5.6.190.0030.06020.79
5.6.180.0300.08720.50
5.6.170.0300.07720.51
5.6.160.0030.05320.64
5.6.150.0070.08318.30
5.6.140.0030.08718.30
5.6.130.0100.07018.36
5.6.120.0070.05321.18
5.6.110.0100.07021.28
5.6.100.0170.07321.07
5.6.90.0100.07021.24
5.6.80.0030.04320.50
5.6.70.0100.04020.64
5.5.350.0270.08020.61
5.5.340.0170.06318.11
5.5.330.0100.07720.43
5.5.320.0200.08320.37
5.5.310.0400.07020.54
5.5.300.0030.04018.11
5.5.290.0030.08018.03
5.5.280.0170.07320.79
5.5.270.0030.06020.90
5.5.260.0070.04021.14
5.5.250.0030.07320.88
5.5.240.0100.07720.42
5.4.450.0030.04019.59
5.4.440.0030.04019.75
5.4.430.0100.03719.56
5.4.420.0070.04019.75
5.4.410.0030.03719.56
5.4.400.0000.04019.28
5.4.390.0100.04318.91
5.4.380.0070.03718.92
5.4.370.0070.06319.37
5.4.360.0100.07318.93
5.4.350.0030.05019.20
5.4.340.0130.07019.13
5.4.320.0170.05719.26
5.4.310.0070.06318.91
5.4.300.0100.03719.05
5.4.290.0030.05719.13
5.4.280.0030.08019.36
5.4.270.0100.06719.11
5.4.260.0070.07719.12
5.4.250.0070.07018.90
5.4.240.0070.05319.08
5.4.230.0070.03719.36
5.4.220.0070.07319.35
5.4.210.0070.06719.42
5.4.200.0130.03319.26
5.4.190.0030.08019.27
5.4.180.0100.07318.90
5.4.170.0070.04319.09
5.4.160.0070.05319.08
5.4.150.0130.05318.89
5.4.140.0100.07016.53
5.4.130.0030.05316.50
5.4.120.0100.05016.40
5.4.110.0070.04316.45
5.4.100.0130.06716.46
5.4.90.0000.04016.45
5.4.80.0100.07016.52
5.4.70.0130.06016.56
5.4.60.0130.06316.39
5.4.50.0100.05016.45
5.4.40.0030.06716.54
5.4.30.0070.07316.44
5.4.20.0170.06016.55
5.4.10.0130.06316.43
5.4.00.0170.06015.83
5.3.290.0070.07314.60
5.3.280.0070.07314.73
5.3.270.0100.07314.67
5.3.260.0100.07714.63
5.3.250.0070.04714.69
5.3.240.0030.04314.79
5.3.230.0000.07014.70
5.3.220.0070.05714.77
5.3.210.0130.06714.59
5.3.200.0030.03714.61
5.3.190.0000.06014.77
5.3.180.0130.04714.71
5.3.170.0030.06714.77
5.3.160.0070.08714.62
5.3.150.0070.07714.59
5.3.140.0070.04014.76
5.3.130.0000.07714.70
5.3.120.0200.06014.78
5.3.110.0070.07714.66
5.3.100.0030.04714.21
5.3.90.0000.08714.13
5.3.80.0070.05714.04
5.3.70.0070.04014.09
5.3.60.0030.08014.13
5.3.50.0070.07714.11
5.3.40.0000.06013.93
5.3.30.0130.07013.94
5.3.20.0200.06713.76
5.3.10.0070.07013.75
5.3.00.0070.06713.77
5.2.170.0100.05711.20
5.2.160.0000.06311.17
5.2.150.0070.06311.31
5.2.140.0030.04011.16
5.2.130.0030.03711.28
5.2.120.0070.04011.29
5.2.110.0030.06711.30
5.2.100.0070.05011.32
5.2.90.0070.06011.25
5.2.80.0100.06011.22
5.2.70.0100.05711.13
5.2.60.0130.05011.21
5.2.50.0030.05711.26
5.2.40.0100.03311.06
5.2.30.0000.04311.13
5.2.20.0000.04011.11
5.2.10.0070.05711.07
5.2.00.0000.03311.03
5.1.60.0000.03310.81
5.1.50.0000.03310.81
5.1.40.0070.05010.81
5.1.30.0100.05010.81
5.1.20.0070.05710.81
5.1.10.0030.05310.81
5.1.00.0100.04010.81
5.0.50.0030.04310.81
5.0.40.0030.03310.81
5.0.30.0030.06710.81
5.0.20.0100.04010.81
5.0.10.0000.02710.81
5.0.00.0070.03710.81
4.4.90.0070.01710.81
4.4.80.0000.04010.81
4.4.70.0030.02010.81
4.4.60.0070.03310.81
4.4.50.0030.01310.81
4.4.40.0000.04310.81
4.4.30.0070.02010.81
4.4.20.0070.03310.81
4.4.10.0000.02710.81
4.4.00.0070.03310.81
4.3.110.0030.02710.81
4.3.100.0000.03010.81
4.3.90.0030.03310.81
4.3.80.0030.05710.81
4.3.70.0070.03010.81
4.3.60.0030.03010.81
4.3.50.0030.02010.81
4.3.40.0030.05010.81
4.3.30.0000.04010.81
4.3.20.0070.02310.81
4.3.10.0000.03310.81
4.3.00.0000.03710.81

preferences:
48.59 ms | 401 KiB | 5 Q