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.0130.01017.00
8.3.50.0080.01116.94
8.3.40.0040.01118.93
8.3.30.0120.00318.94
8.3.20.0050.00318.94
8.3.10.0090.00019.03
8.3.00.0080.00417.63
8.2.180.0040.01517.00
8.2.170.0130.00322.96
8.2.160.0160.00619.91
8.2.150.0050.00324.18
8.2.140.0030.00624.66
8.2.130.0040.00426.16
8.2.120.0000.00720.39
8.2.110.0130.01021.45
8.2.100.0070.00418.34
8.2.90.0060.00319.80
8.2.80.0040.00419.73
8.2.70.0080.00017.71
8.2.60.0050.00518.14
8.2.50.0080.00018.13
8.2.40.0000.00818.59
8.2.30.0040.00418.48
8.2.20.0040.00418.11
8.2.10.0030.00618.33
8.2.00.0000.00818.20
8.1.280.0180.00325.92
8.1.270.0040.01424.66
8.1.260.0060.00326.35
8.1.250.0040.00428.09
8.1.240.0060.00322.84
8.1.230.0110.00021.35
8.1.220.0080.00018.05
8.1.210.0030.00619.54
8.1.200.0090.00017.73
8.1.190.0040.00417.89
8.1.180.0030.00518.10
8.1.170.0050.00319.40
8.1.160.0020.00519.35
8.1.150.0040.00419.01
8.1.140.0080.00017.85
8.1.130.0000.00718.23
8.1.120.0050.00317.71
8.1.110.0000.00717.99
8.1.100.0000.00817.73
8.1.90.0070.00017.75
8.1.80.0040.00417.75
8.1.70.0050.00217.81
8.1.60.0090.00018.09
8.1.50.0050.00317.88
8.1.40.0100.00017.95
8.1.30.0040.00418.04
8.1.20.0000.00818.20
8.1.10.0060.00317.78
8.1.00.0080.00017.84
8.0.300.0040.00420.48
8.0.290.0040.00417.13
8.0.280.0050.00318.86
8.0.270.0050.00217.77
8.0.260.0000.00817.30
8.0.250.0050.00317.52
8.0.240.0000.00717.45
8.0.230.0000.00717.36
8.0.220.0070.00017.43
8.0.210.0000.00717.16
8.0.200.0000.00717.28
8.0.190.0050.00317.48
8.0.180.0100.00017.41
8.0.170.0000.00817.40
8.0.160.0070.00017.38
8.0.150.0030.00617.46
8.0.140.0030.00817.36
8.0.130.0000.00613.64
8.0.120.0000.00817.38
8.0.110.0000.00917.20
8.0.100.0000.00717.27
8.0.90.0050.00317.35
8.0.80.0070.00717.30
8.0.70.0000.00817.32
8.0.60.0000.00817.40
8.0.50.0000.00817.35
8.0.30.0100.01317.66
8.0.20.0050.01617.64
8.0.10.0000.00817.46
8.0.00.0140.00517.11
7.4.330.0000.00613.55
7.4.320.0000.00917.05
7.4.300.0000.00617.10
7.4.290.0070.00317.05
7.4.280.0090.00016.87
7.4.270.0000.00716.86
7.4.260.0000.00513.76
7.4.250.0060.00316.95
7.4.240.0030.00417.05
7.4.230.0000.00717.04
7.4.220.0030.01517.09
7.4.210.0060.01017.08
7.4.200.0080.00017.01
7.4.190.0000.00817.23
7.4.160.0070.01016.79
7.4.150.0090.00917.10
7.4.140.0110.01016.86
7.4.130.0110.00916.84
7.4.120.0090.01216.96
7.4.110.0100.01016.94
7.4.100.0070.01116.88
7.4.90.0070.01016.78
7.4.80.0120.01216.76
7.4.70.0080.00816.95
7.4.60.0060.01016.93
7.4.50.0000.00816.94
7.4.40.0030.00916.95
7.4.30.0030.01417.03
7.4.00.0100.00615.01
7.3.330.0030.00313.38
7.3.320.0060.00013.46
7.3.310.0030.00316.61
7.3.300.0070.00016.76
7.3.290.0090.00616.76
7.3.280.0050.01116.67
7.3.270.0100.00716.82
7.3.260.0100.01016.71
7.3.250.0110.00716.80
7.3.240.0140.00716.96
7.3.230.0180.00616.92
7.3.210.0030.01416.94
7.3.200.0100.00719.39
7.3.190.0100.00916.88
7.3.180.0100.00616.64
7.3.170.0030.01316.92
7.3.160.0160.00016.91
7.3.120.0090.00915.12
7.3.10.0070.00716.90
7.3.00.0040.01116.91
7.2.330.0090.01517.03
7.2.320.0170.00617.23
7.2.310.0090.00917.04
7.2.300.0170.00617.09
7.2.290.0100.00617.04
7.2.130.0030.01217.02
7.2.120.0070.00716.98
7.2.110.0030.01317.11
7.2.100.0030.01116.95
7.2.90.0000.01417.04
7.2.80.0100.00617.00
7.2.70.0150.00616.82
7.2.60.0000.01417.14
7.2.50.0090.00617.13
7.2.40.0110.00617.18
7.2.30.0000.01617.05
7.2.20.0120.00317.08
7.2.10.0090.00617.28
7.2.00.0050.00718.30
7.1.250.0090.00615.76
7.1.100.0060.00618.14
7.1.70.0090.00916.92
7.1.60.0030.02219.40
7.1.50.0070.01717.11
7.1.00.0030.03322.64
7.0.200.0000.00717.11
7.0.140.0030.07322.23
7.0.120.0030.03322.21
7.0.60.0070.08721.93
7.0.50.0030.04018.05
7.0.40.0270.04720.50
7.0.30.0300.06020.47
7.0.20.0200.05720.19
7.0.10.0170.06020.56
7.0.00.0300.07320.56
5.6.280.0000.07321.03
5.6.210.0070.07020.79
5.6.200.0030.08718.30
5.6.190.0170.07720.86
5.6.180.0370.06720.87
5.6.170.0300.08720.68
5.6.160.0170.05320.62
5.6.150.0200.08020.71
5.6.140.0130.05320.56
5.6.130.0200.06320.51
5.6.120.0330.07320.45
5.6.110.0330.07020.55
5.6.100.0200.05320.54
5.6.90.0230.05020.28
5.6.80.0230.05020.08
5.6.70.0270.04319.93
5.6.60.0300.06719.93
5.6.50.0300.07320.04
5.6.40.0230.07719.92
5.6.30.0230.04019.92
5.6.20.0200.04320.04
5.6.10.0200.06319.91
5.6.00.0270.07719.86
5.5.350.0130.04020.57
5.5.340.0100.07718.16
5.5.330.0300.07720.76
5.5.320.0300.06720.46
5.5.310.0270.07320.44
5.5.300.0200.08320.17
5.5.290.0230.06320.39
5.5.280.0230.05020.18
5.5.270.0170.06320.45
5.5.260.0200.08020.38
5.5.250.0200.04720.04
5.5.240.0370.04319.88
5.5.230.0230.07719.87
5.5.220.0270.08019.77
5.5.210.0270.07719.57
5.5.200.0370.06719.68
5.5.190.0270.07319.79
5.5.180.0270.06319.47
5.5.160.0130.05319.67
5.5.150.0300.07019.80
5.5.140.0270.07019.84
5.5.130.0270.07719.84
5.5.120.0270.06319.67
5.5.110.0300.05719.83
5.5.100.0300.07019.70
5.5.90.0170.04319.41
5.5.80.0230.05319.34
5.5.70.0230.04319.66
5.5.60.0200.07719.34
5.5.50.0270.06319.63
5.5.40.0270.04719.72
5.5.30.0230.07319.61
5.5.20.0200.05019.66
5.5.10.0330.07019.72
5.5.00.0270.05019.73
5.4.450.0170.08019.38
5.4.440.0170.06719.76
5.4.430.0230.06319.30
5.4.420.0270.03719.34
5.4.410.0270.07019.20
5.4.400.0230.07319.05
5.4.390.0200.07319.42
5.4.380.0230.07319.34
5.4.370.0230.05718.98
5.4.360.0230.06319.31
5.4.350.0200.05319.27
5.4.340.0270.05719.43
5.4.320.0300.05319.20
5.4.310.0270.06719.00
5.4.300.0330.06719.44
5.4.290.0270.05719.16
5.4.280.0230.07719.43
5.4.270.0300.07019.41
5.4.260.0300.07018.98
5.4.250.0200.07319.33
5.4.240.0300.06719.04
5.4.230.0130.06319.23
5.4.220.0230.06319.43
5.4.210.0270.05719.39
5.4.200.0170.05019.43
5.4.190.0200.05019.43
5.4.180.0270.07319.34
5.4.170.0270.07019.49
5.4.160.0230.07019.28
5.4.150.0230.08019.28
5.4.140.0270.03316.57
5.4.130.0200.06316.52
5.4.120.0200.07316.63
5.4.110.0300.06316.53
5.4.100.0300.06316.52
5.4.90.0230.06016.57
5.4.80.0270.06716.68
5.4.70.0230.06016.50
5.4.60.0270.05716.64
5.4.50.0230.04316.61
5.4.40.0200.07716.63
5.4.30.0300.06016.51
5.4.20.0230.06716.61
5.4.10.0270.07016.68
5.4.00.0170.07016.18
5.3.290.0230.07014.56
5.3.280.0270.06714.69
5.3.270.0270.06714.54
5.3.260.0330.06314.53
5.3.250.0170.07714.50
5.3.240.0270.07014.63
5.3.230.0200.07314.56
5.3.220.0270.06714.45
5.3.210.0470.05314.50
5.3.200.0300.05714.59
5.3.190.0230.06014.50
5.3.180.0230.07314.36
5.3.170.0270.05014.58
5.3.160.0230.08014.47
5.3.150.0300.03714.49
5.3.140.0270.07714.50
5.3.130.0130.05314.51
5.3.120.0270.05014.54
5.3.110.0200.06714.48
5.3.100.0300.05314.14
5.3.90.0200.07013.97
5.3.80.0200.05313.97
5.3.70.0200.05713.96
5.3.60.0200.03313.95
5.3.50.0170.04013.78
5.3.40.0230.06013.89
5.3.30.0230.07013.75
5.3.20.0230.06313.49
5.3.10.0170.07013.70
5.3.00.0230.07313.58
5.2.170.0200.03712.58
5.2.160.0170.06312.58
5.2.150.0070.04712.58
5.2.140.0200.04712.58
5.2.130.0100.06012.58
5.2.120.0130.06012.58
5.2.110.0230.05012.58
5.2.100.0170.03012.58
5.2.90.0130.06312.58
5.2.80.0170.05712.58
5.2.70.0200.05012.58
5.2.60.0170.05312.58
5.2.50.0170.05012.58
5.2.40.0170.05012.58
5.2.30.0100.05712.58
5.2.20.0100.03712.58
5.2.10.0200.03712.58
5.2.00.0100.06312.58
5.1.60.0070.05712.58
5.1.50.0130.05312.58
5.1.40.0130.05312.58
5.1.30.0200.05312.58
5.1.20.0170.05712.58
5.1.10.0170.04712.58
5.1.00.0130.04012.58
5.0.50.0130.03712.58
5.0.40.0070.04012.58
5.0.30.0100.06012.58
5.0.20.0070.04712.58
5.0.10.0170.03712.58
5.0.00.0030.07012.58
4.4.90.0200.02712.58
4.4.80.0070.03012.58
4.4.70.0100.01712.58
4.4.60.0030.02312.58
4.4.50.0130.02712.58
4.4.40.0000.04712.58
4.4.30.0000.04012.58
4.4.20.0070.03312.58
4.4.10.0000.02312.58
4.4.00.0170.05012.58
4.3.110.0070.02712.58
4.3.100.0100.03312.58
4.3.90.0070.03312.58
4.3.80.0070.02712.58
4.3.70.0100.03312.58
4.3.60.0070.02312.58
4.3.50.0070.02312.58
4.3.40.0100.04012.58
4.3.30.0030.03312.58
4.3.20.0070.03312.58
4.3.10.0070.02312.58
4.3.00.0100.03012.58

preferences:
42.44 ms | 401 KiB | 5 Q