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); foreach( $xml->xpath( './/path') as $child) { echo $child->attributes()['id'] . "\n"; }

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.0150.00016.88
8.3.50.0180.00716.66
8.3.40.0040.01118.96
8.3.30.0200.00319.01
8.3.20.0000.00818.90
8.3.10.0110.00420.70
8.3.00.0030.00519.51
8.2.180.0120.00316.86
8.2.170.0080.00822.96
8.2.160.0030.01021.56
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0100.00026.16
8.2.120.0050.00319.60
8.2.110.0070.00321.43
8.2.100.0040.00718.09
8.2.90.0080.00019.67
8.2.80.0040.00418.00
8.2.70.0030.00618.00
8.2.60.0030.00518.54
8.2.50.0000.00818.10
8.2.40.0040.00418.66
8.2.30.0040.00418.43
8.2.20.0000.00819.80
8.2.10.0080.00018.13
8.2.00.0040.00418.15
8.1.280.0140.00025.92
8.1.270.0040.00424.66
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0060.00321.67
8.1.230.0090.00318.20
8.1.220.0040.00418.28
8.1.210.0080.00018.77
8.1.200.0040.00817.50
8.1.190.0080.00017.73
8.1.180.0030.00618.10
8.1.170.0000.00819.26
8.1.160.0040.00419.38
8.1.150.0070.00019.05
8.1.140.0050.00317.92
8.1.130.0050.00218.25
8.1.120.0000.00717.94
8.1.110.0040.00417.96
8.1.100.0040.00417.82
8.1.90.0000.00717.94
8.1.80.0050.00317.98
8.1.70.0040.00417.98
8.1.60.0000.00818.00
8.1.50.0040.00417.74
8.1.40.0080.00018.07
8.1.30.0040.00418.15
8.1.20.0040.00417.90
8.1.10.0000.00817.98
8.1.00.0040.00417.88
8.0.300.0000.00819.46
8.0.290.0080.00017.13
8.0.280.0030.00318.86
8.0.270.0070.00017.73
8.0.260.0000.00717.38
8.0.250.0080.00017.44
8.0.240.0030.00317.30
8.0.230.0070.00017.46
8.0.220.0040.00417.41
8.0.210.0000.00717.37
8.0.200.0040.00417.51
8.0.190.0080.00017.43
8.0.180.0000.00717.40
8.0.170.0040.00417.43
8.0.160.0030.00517.27
8.0.150.0060.00317.33
8.0.140.0040.00417.27
8.0.130.0060.00013.84
8.0.120.0000.00817.27
8.0.110.0020.00517.11
8.0.100.0000.00717.28
8.0.90.0000.00917.31
8.0.80.0100.00617.39
8.0.70.0000.00717.41
8.0.60.0000.00917.31
8.0.50.0080.00017.43
8.0.30.0130.00617.55
8.0.20.0150.00517.62
8.0.10.0000.00717.48
8.0.00.0110.01017.13
7.4.330.0050.00013.55
7.4.320.0000.00817.00
7.4.300.0030.00317.02
7.4.290.0030.00316.91
7.4.280.0040.00417.11
7.4.270.0000.00817.13
7.4.260.0060.00013.69
7.4.250.0040.00417.00
7.4.240.0000.00717.09
7.4.230.0000.00716.82
7.4.220.0090.00917.01
7.4.210.0050.01116.97
7.4.200.0000.00716.87
7.4.190.0030.00517.13
7.4.160.0040.01316.77
7.4.150.0140.00316.86
7.4.140.0110.00616.92
7.4.130.0090.01116.97
7.4.120.0050.01316.83
7.4.110.0150.00916.98
7.4.100.0070.01016.98
7.4.90.0150.00317.08
7.4.80.0110.01119.39
7.4.70.0090.00616.97
7.4.60.0090.00616.91
7.4.50.0060.00617.00
7.4.40.0170.00017.03
7.4.30.0070.01116.84
7.4.00.0030.00715.36
7.3.330.0030.00313.55
7.3.320.0040.00413.38
7.3.310.0070.00016.68
7.3.300.0070.00016.64
7.3.290.0100.01016.72
7.3.280.0090.00816.66
7.3.270.0100.00716.86
7.3.260.0070.01716.88
7.3.250.0100.01116.72
7.3.240.0060.01016.66
7.3.230.0100.00716.59
7.3.210.0110.01116.70
7.3.200.0070.01416.64
7.3.190.0120.00916.56
7.3.180.0140.00316.61
7.3.170.0090.00616.65
7.3.160.0120.00916.86
7.3.120.0090.00915.15
7.2.330.0120.00617.04
7.2.320.0060.01217.18
7.2.310.0070.01417.02
7.2.300.0070.01016.85
7.2.290.0100.00717.02
7.2.00.0000.01519.37
7.1.100.0030.00618.43
7.1.70.0000.00817.06
7.1.60.0100.01419.40
7.1.50.0160.01016.84
7.1.00.0100.03322.66
7.0.200.0030.00715.28
7.0.140.0070.07022.28
7.0.120.0070.07022.18
7.0.60.0270.07721.88
7.0.50.0130.05718.14
7.0.40.0100.08720.23
7.0.30.0000.05020.30
7.0.20.0100.08020.53
7.0.10.0030.04720.19
7.0.00.0030.09320.21
5.6.280.0030.07321.08
5.6.210.0070.04020.76
5.6.200.0070.04018.41
5.6.190.0030.09020.92
5.6.180.0030.06320.86
5.6.170.0030.08720.86
5.6.160.0170.06320.62
5.6.150.0100.08020.69
5.6.140.0200.08020.35
5.6.130.0070.04720.60
5.6.120.0030.04320.59
5.6.110.0030.04320.68
5.6.100.0070.04020.28
5.6.90.0000.04720.66
5.6.80.0000.04319.68
5.6.70.0070.03720.05
5.6.60.0030.04020.02
5.6.50.0030.04319.95
5.6.40.0030.04019.92
5.6.30.0070.04020.05
5.6.20.0000.04320.04
5.6.10.0000.04320.04
5.6.00.0070.03719.91
5.5.350.0200.04320.66
5.5.340.0130.03018.16
5.5.330.0030.08720.69
5.5.320.0130.07720.69
5.5.310.0070.07320.76
5.5.300.0100.08320.40
5.5.290.0070.04320.32
5.5.280.0030.04320.16
5.5.270.0070.04020.39
5.5.260.0000.04320.35
5.5.250.0030.04020.29
5.5.240.0170.02719.78
5.5.230.0030.04019.77
5.5.220.0070.03719.60
5.5.210.0000.04319.49
5.5.200.0070.03719.75
5.5.190.0130.03019.51
5.5.180.0030.04019.57
5.5.160.0100.03319.67
5.5.150.0070.03719.84
5.5.140.0100.03319.44
5.5.130.0030.04019.83
5.5.120.0100.03319.74
5.5.110.0000.04319.83
5.5.100.0070.03319.61
5.5.90.0100.03319.78
5.5.80.0070.03719.41
5.5.70.0070.05019.41
5.5.60.0030.06719.74
5.5.50.0130.04319.32
5.5.40.0100.07319.66
5.5.30.0030.06319.68
5.5.20.0100.03719.74
5.5.10.0030.05019.71
5.5.00.0000.04319.68
5.4.450.0070.08019.82
5.4.440.0000.04319.68
5.4.430.0000.04719.63
5.4.420.0100.03319.65
5.4.410.0030.03719.59
5.4.400.0000.04019.04
5.4.390.0070.03719.40
5.4.380.0100.03019.04
5.4.370.0100.03019.27
5.4.360.0100.03019.00
5.4.350.0000.04019.43
5.4.340.0030.03719.27
5.4.320.0030.03719.43
5.4.310.0030.04019.43
5.4.300.0030.04019.04
5.4.290.0000.04019.40
5.4.280.0000.04018.98
5.4.270.0070.03719.39
5.4.260.0030.04019.04
5.4.250.0030.03719.29
5.4.240.0030.03719.01
5.4.230.0100.05319.18
5.4.220.0070.07019.41
5.4.210.0030.07019.03
5.4.200.0170.06019.32
5.4.190.0030.07719.42
5.4.180.0030.07719.18
5.4.170.0000.04019.39
5.4.160.0030.04019.25
5.4.150.0070.07719.38
5.4.140.0100.07016.54
5.4.130.0000.06716.59
5.4.120.0070.07716.59
5.4.110.0000.04716.57
5.4.100.0170.03316.52
5.4.90.0100.05016.71
5.4.80.0070.03716.59
5.4.70.0030.03716.69
5.4.60.0000.04716.67
5.4.50.0130.06316.51
5.4.40.0100.06316.67
5.4.30.0070.04716.52
5.4.20.0030.04716.64
5.4.10.0100.03716.57
5.4.00.0100.03016.03
5.3.290.0000.04014.60
5.3.280.0030.04014.50
5.3.270.0030.04014.54
5.3.260.0070.07714.49
5.3.250.0000.08314.53
5.3.240.0030.04014.57
5.3.230.0030.06014.55
5.3.220.0030.07714.50
5.3.210.0100.06014.46
5.3.200.0100.06714.52
5.3.190.0070.03714.36
5.3.180.0000.05714.39
5.3.170.0030.03714.52
5.3.160.0000.04314.36
5.3.150.0100.07314.50
5.3.140.0070.04014.48
5.3.130.0130.07014.38
5.3.120.0100.05014.66
5.3.110.0030.04314.47
5.3.100.0030.05314.14
5.3.90.0000.04314.01
5.3.80.0030.03713.99
5.3.70.0030.03714.01
5.3.60.0100.07013.94
5.3.50.0030.04714.05
5.3.40.0000.04013.93
5.3.30.0100.06314.00
5.3.20.0130.06313.66
5.3.10.0070.05013.50
5.3.00.0030.07713.62
5.2.170.0070.06311.02
5.2.160.0030.03011.11
5.2.150.0100.05310.99
5.2.140.0100.05011.07
5.2.130.0100.03711.06
5.2.120.0070.05711.21
5.2.110.0070.06011.11
5.2.100.0030.03711.02
5.2.90.0130.04710.99
5.2.80.0030.03711.04
5.2.70.0030.06311.08
5.2.60.0000.04011.07
5.2.50.0030.05711.04
5.2.40.0070.04010.99
5.2.30.0030.06010.91
5.2.20.0030.06310.96
5.2.10.0100.02310.85
5.2.00.0030.02710.73
5.1.60.0030.03310.00
5.1.50.0100.0479.91
5.1.40.0030.0579.90
5.1.30.0000.04310.35
5.1.20.0100.02710.36
5.1.10.0030.0309.99
5.1.00.0000.0309.99
5.0.50.0030.0208.47
5.0.40.0070.0378.41
5.0.30.0000.0678.32
5.0.20.0070.0438.27
5.0.10.0070.0438.22
5.0.00.0000.0678.21
4.4.90.0000.0237.70
4.4.80.0000.0177.70
4.4.70.0030.0377.70
4.4.60.0000.0177.70
4.4.50.0070.0137.70
4.4.40.0030.0237.70
4.4.30.0000.0277.70
4.4.20.0000.0277.70
4.4.10.0030.0177.70
4.4.00.0070.0477.70
4.3.110.0030.0337.70
4.3.100.0000.0377.70
4.3.90.0000.0337.70
4.3.80.0030.0577.70
4.3.70.0000.0337.70
4.3.60.0070.0307.70
4.3.50.0030.0407.70
4.3.40.0070.0477.70
4.3.30.0030.0237.70
4.3.20.0030.0207.70
4.3.10.0030.0307.70
4.3.00.0000.0307.70

preferences:
46.91 ms | 401 KiB | 5 Q