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 . "\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.01018.80
8.3.50.0060.01122.24
8.3.40.0090.00619.02
8.3.30.0060.00919.10
8.3.20.0080.00018.90
8.3.10.0000.00819.77
8.3.00.0040.00424.10
8.2.180.0070.01118.91
8.2.170.0040.01122.96
8.2.160.0030.01020.72
8.2.150.0180.00024.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0000.00820.27
8.2.110.0040.00420.77
8.2.100.0040.00818.16
8.2.90.0030.00619.64
8.2.80.0090.00018.41
8.2.70.0040.00418.13
8.2.60.0000.00818.30
8.2.50.0030.00518.07
8.2.40.0030.00618.59
8.2.30.0040.00421.60
8.2.20.0030.00618.06
8.2.10.0040.00418.12
8.2.00.0000.00818.19
8.1.280.0180.00425.92
8.1.270.0040.00424.66
8.1.260.0000.00726.35
8.1.250.0060.00328.09
8.1.240.0030.00622.56
8.1.230.0060.00622.66
8.1.220.0080.00018.77
8.1.210.0040.00419.48
8.1.200.0030.00617.85
8.1.190.0080.00018.00
8.1.180.0000.00818.10
8.1.170.0030.00519.09
8.1.160.0040.00419.32
8.1.150.0050.00319.09
8.1.140.0000.00817.83
8.1.130.0000.00718.30
8.1.120.0030.00418.03
8.1.110.0040.00417.73
8.1.100.0040.00417.93
8.1.90.0000.00717.86
8.1.80.0050.00318.00
8.1.70.0030.00317.91
8.1.60.0030.00617.84
8.1.50.0000.00817.88
8.1.40.0060.00317.81
8.1.30.0000.00818.08
8.1.20.0040.00418.07
8.1.10.0000.00717.98
8.1.00.0000.00817.73
8.0.300.0000.00820.35
8.0.290.0040.00417.66
8.0.280.0040.00418.84
8.0.270.0000.00717.75
8.0.260.0000.00717.30
8.0.250.0040.00417.34
8.0.240.0040.00717.20
8.0.230.0000.00817.45
8.0.220.0030.00317.32
8.0.210.0030.00517.37
8.0.200.0000.00717.44
8.0.190.0060.00317.47
8.0.180.0040.00417.42
8.0.170.0040.00417.20
8.0.160.0000.00817.39
8.0.150.0060.00317.35
8.0.140.0000.01017.38
8.0.130.0050.00013.64
8.0.120.0000.00817.32
8.0.110.0040.00417.25
8.0.100.0050.00217.31
8.0.90.0040.00417.38
8.0.80.0080.00817.28
8.0.70.0040.00417.25
8.0.60.0040.00417.34
8.0.50.0000.00917.25
8.0.30.0100.00917.45
8.0.20.0070.01017.70
8.0.10.0060.00317.42
8.0.00.0110.00817.28
7.4.330.0030.00215.15
7.4.320.0000.00717.14
7.4.300.0000.00617.07
7.4.290.0030.00416.78
7.4.280.0070.00017.02
7.4.270.0000.00716.93
7.4.260.0030.00313.58
7.4.250.0030.00517.06
7.4.240.0030.00517.07
7.4.230.0040.00417.02
7.4.220.0130.00717.05
7.4.210.0070.00816.94
7.4.200.0040.00417.04
7.4.190.0080.00016.79
7.4.160.0120.00616.73
7.4.150.0090.00917.40
7.4.140.0130.00517.86
7.4.130.0100.01117.00
7.4.120.0130.00616.85
7.4.110.0090.00916.89
7.4.100.0060.01216.99
7.4.90.0060.01217.09
7.4.80.0090.00919.39
7.4.70.0030.01316.84
7.4.60.0100.01217.05
7.4.50.0030.00616.90
7.4.40.0060.00922.52
7.4.30.0110.00716.95
7.4.00.0100.00915.06
7.3.330.0020.00213.30
7.3.320.0000.00613.27
7.3.310.0070.00016.59
7.3.300.0000.00716.56
7.3.290.0130.00616.62
7.3.280.0100.01016.58
7.3.270.0110.00717.40
7.3.260.0160.00218.24
7.3.250.0070.00916.85
7.3.240.0130.01016.62
7.3.230.0140.00316.85
7.3.210.0070.01016.96
7.3.200.0090.00819.39
7.3.190.0080.00916.94
7.3.180.0050.01416.80
7.3.170.0070.01016.84
7.3.160.0120.00916.80
7.3.120.0070.01014.94
7.3.110.0090.00815.02
7.3.100.0090.00515.00
7.3.90.0070.00815.12
7.3.80.0070.00715.03
7.3.70.0080.00514.95
7.3.60.0090.00515.02
7.3.50.0110.00214.88
7.3.40.0050.00914.90
7.3.30.0050.01014.94
7.3.20.0050.00516.74
7.3.10.0070.00816.65
7.3.00.0070.01016.68
7.2.330.0140.00317.16
7.2.320.0130.01017.13
7.2.310.0110.00817.15
7.2.300.0170.00017.11
7.2.290.0090.00917.04
7.2.250.0030.01715.11
7.2.240.0120.00615.27
7.2.230.0080.00815.29
7.2.220.0060.00515.20
7.2.210.0100.00415.31
7.2.200.0050.01015.34
7.2.190.0050.00815.18
7.2.180.0030.01215.20
7.2.170.0020.01315.23
7.2.160.0020.01115.25
7.2.150.0040.00717.34
7.2.140.0080.00717.12
7.2.130.0070.01016.94
7.2.120.0080.00917.04
7.2.110.0080.00816.94
7.2.100.0090.00716.96
7.2.90.0060.00917.06
7.2.80.0040.01117.03
7.2.70.0040.01116.95
7.2.60.0050.00917.04
7.2.50.0050.01016.96
7.2.40.0070.00816.96
7.2.30.0070.00717.11
7.2.20.0100.00617.03
7.2.10.0080.00616.99
7.2.00.0040.01117.56
7.1.330.0060.00815.92
7.1.320.0070.00615.95
7.1.310.0060.00715.88
7.1.300.0020.01215.96
7.1.290.0030.01015.78
7.1.280.0060.00515.72
7.1.270.0030.00815.78
7.1.260.0080.00515.80
7.1.250.0060.00915.86
7.1.200.0070.01015.79
7.1.100.0000.01018.40
7.1.70.0050.00317.21
7.1.60.0030.00716.95
7.1.50.0060.01616.96
7.1.00.0070.09022.59
7.0.200.0000.01616.98
7.0.140.0030.07322.26
7.0.100.0070.03320.19
7.0.90.0130.03720.17
7.0.80.0030.04320.09
7.0.70.0270.04320.21
7.0.60.0170.04020.13
7.0.50.0030.04720.61
7.0.40.0030.04020.34
7.0.30.0030.04020.34
7.0.20.0030.04320.25
7.0.10.0030.05020.34
7.0.00.0070.04020.29
5.6.280.0070.07021.13
5.6.250.0070.04320.79
5.6.240.0030.04720.95
5.6.230.0030.05020.80
5.6.220.0200.06320.87
5.6.210.0100.07320.74
5.6.200.0030.04721.25
5.6.190.0070.04021.24
5.6.180.0100.03721.34
5.6.170.0030.04321.34
5.6.160.0100.03721.30
5.6.150.0070.03721.24
5.6.140.0070.03721.19
5.6.130.0000.04321.21
5.6.120.0000.05021.18
5.6.110.0070.04021.32
5.6.100.0100.03721.24
5.6.90.0030.06321.27
5.6.80.0030.05020.74
5.6.70.0100.04320.64
5.6.60.0100.04020.62
5.6.50.0000.08720.55
5.6.40.0170.08320.66
5.6.30.0130.08020.63
5.6.20.0200.06720.68
5.6.10.0070.07720.63
5.6.00.0070.08320.68
5.5.380.0070.03720.68
5.5.370.0070.04020.71
5.5.360.0030.04020.84
5.5.350.0000.05020.75
5.5.340.0070.04721.00
5.5.330.0100.03721.00
5.5.320.0000.04021.13
5.5.310.0030.04321.13
5.5.300.0100.03721.06
5.5.290.0100.03321.06
5.5.280.0030.04321.00
5.5.270.0070.03721.15
5.5.260.0030.04020.96
5.5.250.0100.05020.87
5.5.240.0100.04020.55
5.5.230.0000.04020.50
5.5.220.0030.05720.34
5.5.210.0100.03720.51
5.5.200.0170.07320.39
5.5.190.0100.07720.45
5.5.180.0130.07320.44
5.5.160.0130.06020.44
5.5.150.0030.04720.47
5.5.140.0030.04320.34
5.5.130.0170.07320.38
5.5.120.0130.07020.38
5.5.110.0100.08020.43
5.5.100.0130.07020.36
5.5.90.0130.07720.35
5.5.80.0130.06020.24
5.5.70.0130.07020.34
5.5.60.0070.08020.23
5.5.50.0030.08320.20
5.5.40.0000.05020.19
5.5.30.0000.05020.19
5.5.20.0100.07320.34
5.5.10.0030.08320.27
5.5.00.0030.07320.34
5.4.450.0030.04019.56
5.4.440.0000.04319.60
5.4.430.0000.05719.65
5.4.420.0000.04319.63
5.4.410.0030.04319.47
5.4.400.0030.04019.31
5.4.390.0030.05719.29
5.4.380.0100.03019.31
5.4.370.0000.08319.28
5.4.360.0070.07319.46
5.4.350.0030.05319.24
5.4.340.0070.07719.23
5.4.320.0130.07019.29
5.4.310.0100.04019.27
5.4.300.0030.05019.43
5.4.290.0000.08319.06
5.4.280.0030.08019.03
5.4.270.0100.04319.13
5.4.260.0070.07719.29
5.4.250.0130.06319.47
5.4.240.0100.04319.27
5.4.230.0100.05719.32
5.4.220.0100.07019.21
5.4.210.0030.08019.43
5.4.200.0130.07019.19
5.4.190.0070.07319.31
5.4.180.0170.07019.27
5.4.170.0130.07319.29
5.4.160.0070.08019.34
5.4.150.0130.06319.47
5.4.140.0070.05716.64
5.4.130.0170.03716.62
5.4.120.0070.04016.50
5.4.110.0100.03716.69
5.4.100.0100.03016.66
5.4.90.0070.06716.74
5.4.80.0030.05016.50
5.4.70.0130.06316.54
5.4.60.0030.06716.70
5.4.50.0100.03716.62
5.4.40.0070.05016.62
5.4.30.0000.07716.71
5.4.20.0070.07016.67
5.4.10.0070.06716.59
5.4.00.0100.07016.06
5.3.290.0030.06014.75
5.3.280.0100.06714.85
5.3.270.0030.07714.85
5.3.260.0030.05714.82
5.3.250.0130.07314.87
5.3.240.0100.06314.82
5.3.230.0030.08314.77
5.3.220.0130.07314.66
5.3.210.0130.05314.66
5.3.200.0000.04714.81
5.3.190.0070.07014.77
5.3.180.0130.07714.81
5.3.170.0070.04314.77
5.3.160.0070.03714.75
5.3.150.0130.06314.74
5.3.140.0130.06714.80
5.3.130.0070.05714.63
5.3.120.0070.04714.75
5.3.110.0130.04014.81
5.3.100.0030.06014.31
5.3.90.0030.08014.24
5.3.80.0170.06014.19
5.3.70.0030.06014.05
5.3.60.0100.04714.04
5.3.50.0000.05014.20
5.3.40.0100.07314.11
5.3.30.0030.06014.14
5.3.20.0030.07013.96
5.3.10.0070.07713.86
5.3.00.0030.08713.80
5.2.170.0000.05711.34
5.2.160.0100.05011.45
5.2.150.0030.06711.39
5.2.140.0100.06311.44
5.2.130.0070.06311.38
5.2.120.0100.06011.41
5.2.110.0170.05011.29
5.2.100.0030.06311.29
5.2.90.0030.05011.43
5.2.80.0000.07011.41
5.2.70.0070.06011.31
5.2.60.0070.05311.13
5.2.50.0100.06011.21
5.2.40.0030.06311.32
5.2.30.0030.06311.09
5.2.20.0030.06011.27
5.2.10.0030.06011.02
5.2.00.0070.04710.87
5.1.60.0070.03310.48
5.1.50.0070.03310.48
5.1.40.0100.02710.48
5.1.30.0000.04310.64
5.1.20.0070.03710.50
5.1.10.0030.06010.48
5.1.00.0000.05710.48
5.0.50.0000.04010.48
5.0.40.0100.02710.48
5.0.30.0030.05710.48
5.0.20.0030.04010.48
5.0.10.0030.03710.48
5.0.00.0000.04310.48
4.4.90.0000.04310.48
4.4.80.0070.03310.48
4.4.70.0000.03710.48
4.4.60.0030.02010.48
4.4.50.0070.03310.48
4.4.40.0030.05010.48
4.4.30.0070.03310.48
4.4.20.0070.03310.48
4.4.10.0070.03310.48
4.4.00.0030.05310.48
4.3.110.0000.02310.48
4.3.100.0070.03010.48
4.3.90.0000.02710.48
4.3.80.0000.04310.48
4.3.70.0030.03310.48
4.3.60.0000.03310.48
4.3.50.0000.03710.48
4.3.40.0030.05010.48
4.3.30.0070.02010.48
4.3.20.0000.03710.48
4.3.10.0030.03310.48
4.3.00.0000.03710.48

preferences:
43.26 ms | 401 KiB | 5 Q