3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = array( 'js' => array( 'detailgallery' => array( 0 => 'wowslider.js', 1 => 'jquery.elevatezoom.min.js', 2 => 'jquery.fancybox.pack.js', 3 => 'prism.j' ), 'filemanager' => array( 0 => 'plugin.min.js', 1 => 'plugin.j' ), 'jqrating' => array( 0 => 'jRating.jquery.js', 1 => 'jq-rating.j' ), 'multiselect' => array( 0 => 'ui.multiselect.js', 1 => 'jquery.localisation-min.js', 2 => 'jquery.scrollTo.js', 3 => 'multi.j' ), 'imagegallery' => array( 0 => 'wowslider.j' ), 'x_editable' => array( 0 => '2-moment.min.js', 1 => '6-typeaheadjs.js', 2 => '3-bootstrap.js', 3 => '5-typeahead.js', 4 => '7-address.js', 5 => '4-bootstrap-editable.js', 6 => '1-jquery.mockjax.j' ), 'jqalert' => array( 0 => 'jquery.alerts.j' ), 'tiny_mce' => array( 0 => 'jquery.tinymce.js', 1 => 'tiny_mce.js', 2 => 'tinymce.min.js', 3 => 'tiny_mce_popup.js', 4 => 'tiny_mce_src.j' ), 'thickbox' => array( 0 => 'thickbox.j' ), 'colorbox' => array( 0 => 'colorbox.j' ), 'fancybox' => array( 0 => 'jquery.fancybox-media.js', 1 => 'jquery.fancybox-buttons.js', 2 => 'a_jquery.fancybox.js', 3 => 'jquery.mousewheel-3.0.6.pack.js', 4 => 'jquery.fancybox.pack.js', 5 => 'jquery.fancybox-thumbs.js', 6 => 'jquery.mockjax.j' ), 'chosen' => array( 0 => 'chosen.jquery.j' ), 'rating' => array( 0 => 'jquery.MetaData.js', 1 => 'jquery.rating.j' ), 'magnific-popup' => array( 0 => 'jquery.magnific-popup.j' ), 'glasscase' => array( 0 => 'jquery.glasscase.min.js', 1 => 'modernizr.custom.j' ), 'validate' => array( 0 => 'jquery.validate.j' ), 'uploadify' => array( 0 => 'jquery.uploadify.js', 1 => 'thickbox.j' ), 'smartmenus' => array( 0 => 'jquery.smartmenus.js', 1 => 'smartmenus.j' ), 'jqautocomplete' => array( -1 => '' ), 'jquery-ui' => array( 0 => 'jquery-ui.min.j' ), 'datepicker' => array( 0 => 'jquery-ui-timepicker-addon.j' ), 'flowplayer' => array( 0 => 'flowplayer-3.2.12.min.j' ), 'masonry' => array( 0 => 'imagesLoaded.js', 1 => 'masonry.pkgd.min.j' ), 'colorpicker' => array( 0 => 'rgbslider.js', 1 => 'jquery.ui.colorpicker-nl.js', 2 => 'memory.js', 3 => 'pantone.js', 4 => 'colorpicker.j' ), 'tinyslider' => array( 0 => 'tinycarousel.j' ), 'custom_checkbox' => array( 0 => 'icheck.j' ), 'captcha' => array( 0 => 'captcha.min.j' ), 'autocomplete_token' => array( 0 => 'jquery.tokeninput.j' ), 'tabs' => array( 0 => 'tabs.j' ) ), 'css' => array( 'detailgallery' => array( 0 => 'ws_zoom.css', 1 => 'wowslider.cs' ), 'jqrating' => array( 0 => 'font-awesome.min.css', 1 => 'jRating.jquery.cs' ), 'multiselect' => array( 0 => 'ui.multiselect.cs' ), 'imagegallery' => array( 0 => 'wowslider.cs' ), 'x_editable' => array( 0 => 'select2.css', 1 => 'typeahead.js-bootstrap.css', 2 => 'select2-bootstrap.css', 3 => 'bootstrap.css', 4 => 'bootstrap-editable.cs' ), 'jqalert' => array( 0 => 'jquery.alerts.cs' ), '__rating' => array( 0 => 'jquery.rating.cs' ), 'thickbox' => array( 0 => 'thickbox.cs' ), 'colorbox' => array( 0 => 'colorbox4.css', 1 => 'colorbox5.css', 2 => 'colorbox1.css', 3 => 'colorbox2.css', 4 => 'colorbox3.cs' ), 'fancybox' => array( 0 => 'jquery.fancybox-buttons.css', 1 => 'jquery.fancybox.css', 2 => 'jquery.fancybox-thumbs.cs' ), 'chosen' => array( 0 => 'chosen.min.cs' ), 'magnific-popup' => array( 0 => 'magnific-popup.cs' ), 'glasscase' => array( 0 => 'glasscase.min.cs' ), 'uploadify' => array( 0 => 'related.css', 1 => 'thickbox.css', 2 => 'uploadify.cs' ), 'smartmenus' => array( 0 => 'sm-blue.css', 1 => 'sm-core-css.css', 2 => 'demo.cs' ), 'jqautocomplete' => array( 0 => 'jquery-ui-1.10.4.custom.min.css', 1 => 'jqautocomplete.cs' ), 'jquery-ui' => array( 0 => 'jquery-ui-1.10.4.custom.min.cs' ), 'datepicker' => array( 0 => 'jquery-ui-1.10.4.custom.min.cs' ), 'masonry' => array( 0 => 'component.cs' ), 'colorpicker' => array( 0 => 'colorpicker.cs' ), 'tinyslider' => array( 0 => 'tinyslider.cs' ), 'custom_checkbox' => array( 0 => 'futurico.css', 1 => 'minimal.css', 2 => 'polaris.css', 3 => 'flat.css', 4 => 'square_red.css', 5 => 'line.cs' ), 'autocomplete_token' => array( 0 => 'token-input.css', 1 => 'token-input-facebook.css', 2 => 'token-input-mac.cs' ) ) ); print_r($arr);

Abusive script

This script was stopped while abusing our resources

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.110.0070.00320.94
8.3.100.0000.00924.06
8.3.90.0030.00526.77
8.3.80.0030.00617.97
8.3.70.0170.00016.50
8.3.60.0160.00318.43
8.3.50.0090.00921.98
8.3.40.0040.01118.51
8.3.30.0070.00718.75
8.3.20.0120.00320.38
8.3.10.0080.00023.65
8.3.00.0080.00019.19
8.2.230.0030.00522.58
8.2.220.0030.00737.54
8.2.210.0100.01026.77
8.2.200.0040.00416.50
8.2.190.0070.00716.58
8.2.180.0120.00916.38
8.2.170.0130.00322.96
8.2.160.0100.01022.12
8.2.150.0080.00024.18
8.2.140.0000.00824.66
8.2.130.0030.00526.16
8.2.120.0000.00721.07
8.2.110.0030.00721.04
8.2.100.0080.00417.78
8.2.90.0000.00720.59
8.2.80.0060.00317.97
8.2.70.0000.00917.80
8.2.60.0000.01017.97
8.2.50.0030.00518.10
8.2.40.0040.00420.93
8.2.30.0090.00019.14
8.2.20.0050.00217.71
8.2.10.0040.00418.07
8.2.00.0040.00417.65
8.1.290.0100.00030.84
8.1.280.0070.01425.92
8.1.270.0000.00818.73
8.1.260.0050.00326.35
8.1.250.0070.00328.09
8.1.240.0090.00020.99
8.1.230.0000.01120.85
8.1.220.0000.00817.74
8.1.210.0000.00819.03
8.1.200.0000.00817.22
8.1.190.0040.00417.23
8.1.180.0040.00418.10
8.1.170.0000.00818.64
8.1.160.0080.00018.84
8.1.150.0000.00718.89
8.1.140.0000.00717.27
8.1.130.0030.00317.85
8.1.120.0000.00717.45
8.1.110.0040.00417.27
8.1.100.0030.00517.32
8.1.90.0000.00717.35
8.1.80.0000.00717.31
8.1.70.0030.00317.39
8.1.60.0000.00917.43
8.1.50.0050.00317.52
8.1.40.0040.00417.36
8.1.30.0000.00817.64
8.1.20.0000.00817.62
8.1.10.0040.00417.45
8.1.00.0040.00417.25
8.0.300.0000.00719.98
8.0.290.0040.00416.63
8.0.280.0000.01118.40
8.0.270.0000.00717.17
8.0.260.0030.00317.17
8.0.250.0070.00016.77
8.0.240.0000.00916.94
8.0.230.0000.00716.78
8.0.220.0040.00416.85
8.0.210.0000.00716.88
8.0.200.0030.00316.87
8.0.190.0000.00816.86
8.0.180.0000.00716.85
8.0.170.0070.00016.82
8.0.160.0040.00416.86
8.0.150.0000.00716.75
8.0.140.0070.00016.79
8.0.130.0030.00313.31
8.0.120.0030.00516.82
8.0.110.0040.00416.79
8.0.100.0040.00416.73
8.0.90.0030.00516.73
8.0.80.0070.01416.73
8.0.70.0040.00416.83
8.0.60.0070.00016.72
8.0.50.0050.00216.68
8.0.30.0150.00816.91
8.0.20.0110.01117.40
8.0.10.0000.00716.86
8.0.00.0100.00816.62
7.4.330.0030.00315.03
7.4.320.0000.00616.54
7.4.300.0030.00316.56
7.4.290.0080.00016.55
7.4.280.0050.00516.33
7.4.270.0030.00316.44
7.4.260.0030.00316.39
7.4.250.0030.00516.32
7.4.240.0030.00316.57
7.4.230.0000.00716.52
7.4.220.0130.00316.55
7.4.210.0150.00416.50
7.4.200.0000.00716.34
7.4.160.0060.00916.27
7.4.150.0100.01017.40
7.4.140.0140.00617.86
7.4.130.0130.00316.51
7.4.120.0100.00716.40
7.4.110.0070.01016.34
7.4.100.0150.00416.58
7.4.90.0130.00516.52
7.4.80.0110.01119.39
7.4.70.0030.01716.56
7.4.60.0080.00916.40
7.4.50.0030.00616.32
7.4.40.0060.01016.35
7.4.30.0120.00616.47
7.4.00.0030.01214.77
7.3.330.0050.00012.99
7.3.320.0000.00613.05
7.3.310.0030.00316.08
7.3.300.0030.00316.22
7.3.290.0070.00916.13
7.3.280.0130.00516.15
7.3.270.0060.01017.40
7.3.260.0070.01016.22
7.3.250.0100.00716.19
7.3.240.0100.00716.13
7.3.230.0140.00316.39
7.3.210.0060.01216.32
7.3.200.0070.01019.39
7.3.190.0060.01116.20
7.3.180.0100.01316.45
7.3.170.0120.01016.32
7.3.160.0120.00316.16
7.2.330.0120.00616.12
7.2.320.0100.00716.52
7.2.310.0090.00916.16
7.2.300.0100.00716.15
7.2.290.0100.00916.39
7.1.70.0090.00317.19
7.1.60.0060.01919.46
7.1.50.0120.00616.88
7.1.00.0030.07722.54
7.0.200.0040.00816.69
7.0.140.0100.07022.04
7.0.60.0100.04020.03
7.0.50.0070.04017.83
7.0.40.0070.04720.09
7.0.30.0470.06020.23
7.0.20.0170.04720.23
7.0.10.0130.03720.15
7.0.00.0130.08020.23
5.6.280.0100.07321.17
5.6.210.0200.07720.55
5.6.200.0100.08018.29
5.6.190.0100.04320.39
5.6.180.0230.04720.67
5.6.170.0400.06720.71
5.6.160.0070.08720.51
5.6.150.0170.07318.27
5.6.140.0170.06318.18
5.6.130.0100.08718.25
5.6.120.0230.07320.99
5.6.110.0130.08321.15
5.6.100.0100.09021.13
5.6.90.0230.07021.06
5.6.80.0170.05720.52
5.5.350.3600.03020.48
5.5.340.0170.02718.12
5.5.330.0030.05320.32
5.5.320.0230.07020.30
5.5.310.0530.06720.37
5.5.300.0200.07017.96
5.5.290.0030.08718.06
5.5.280.0130.07320.89
5.5.270.0070.04020.97
5.5.260.0170.08020.91
5.5.250.0130.08720.50
5.5.240.0100.07720.23
5.4.450.0370.05319.15
5.4.440.0270.06019.50
5.4.430.0200.05719.21
5.4.420.0330.05319.47
5.4.410.0370.04319.51
5.4.400.0200.05719.35
5.4.390.0430.06718.84
5.4.380.0430.06718.84
5.4.370.0400.05318.80
5.4.360.0400.05318.63
5.4.350.0370.06718.77
5.4.340.0400.05018.79
5.4.320.0400.06718.78
5.4.310.0470.04018.74
5.4.300.0470.05718.81
5.4.290.0300.06718.61
5.4.280.0300.05318.62
5.4.270.0400.04718.76
5.4.260.0470.05718.79
5.4.250.0370.06718.73
5.4.240.0430.05718.61
5.4.230.0330.05018.82
5.4.220.0500.05318.79
5.4.210.0500.04718.62
5.4.200.0400.05716.67
5.4.190.0270.06718.78
5.4.180.0400.05318.61
5.4.170.0370.06718.78
5.4.160.0500.06018.75
5.4.150.0230.07018.47
5.4.140.0270.05716.30
5.4.130.0330.05016.26
5.4.120.0400.04716.34
5.4.110.0330.06016.33
5.4.100.0270.06016.27
5.4.90.0330.05716.48
5.4.80.0330.05016.23
5.4.70.0470.05016.45
5.4.60.0270.05716.25
5.4.50.0430.05016.22
5.4.40.0400.04716.45
5.4.30.0400.06716.30
5.4.20.0300.06016.31
5.4.10.0300.06016.45
5.4.00.0330.06015.74
5.3.290.0370.06014.91
5.3.280.0400.05314.62
5.3.270.0400.05714.66
5.3.260.0500.07714.68
5.3.250.0330.06314.67
5.3.240.0300.06014.71
5.3.230.0530.04714.77
5.3.220.0630.05014.66
5.3.210.0400.05314.66
5.3.200.0430.05714.66
5.3.190.0370.06014.75
5.3.180.0300.07014.83
5.3.170.0470.05714.73
5.3.160.0330.06314.81
5.3.150.0500.06314.77
5.3.140.0330.05314.63
5.3.130.0330.06014.63
5.3.120.0430.04714.63
5.3.110.0370.06014.83
5.3.100.0370.05714.30
5.3.90.0330.06014.06
5.3.80.0330.05014.06
5.3.70.0330.05314.08
5.3.60.0300.05314.04
5.3.50.0270.05714.04
5.3.40.0370.05714.11
5.3.30.0370.05713.94
5.3.20.0430.05713.84
5.3.10.0400.06713.82
5.3.00.0370.07013.79
5.2.170.0330.04311.22
5.2.160.0170.05711.24
5.2.150.0300.05711.30
5.2.140.0230.04711.30
5.2.130.0300.04011.28
5.2.120.0370.04311.38
5.2.110.0170.05011.22
5.2.100.0330.03311.36
5.2.90.0270.04711.26
5.2.80.0300.03711.37
5.2.70.0300.07011.25
5.2.60.0330.06011.20
5.2.50.0300.05011.08
5.2.40.0430.03711.04
5.2.30.0200.04711.13
5.2.20.0130.05311.19
5.2.10.0400.03310.96
5.2.00.0270.04710.80
5.1.60.0200.03710.09
5.1.50.0270.04010.18
5.1.40.0230.04010.05
5.1.30.0330.03710.40
5.1.20.0300.04010.40
5.1.10.0200.04310.14
5.1.00.0270.04010.12
5.0.50.0130.0378.64
5.0.40.0300.0308.50
5.0.30.0230.0478.39
5.0.20.0170.0278.27
5.0.10.0170.0278.18
5.0.00.0170.0478.33
4.4.90.0130.0207.84
4.4.80.0170.0207.84
4.4.70.0200.0237.84
4.4.60.0270.0137.84
4.4.50.0070.0277.84
4.4.40.0130.0337.84
4.4.30.0170.0237.84
4.4.20.0170.0277.84
4.4.10.0200.0207.84
4.4.00.0200.0337.84
4.3.110.0170.0207.84
4.3.100.0130.0237.84
4.3.90.0200.0177.84
4.3.80.0170.0377.84
4.3.70.0200.0207.84
4.3.60.0170.0207.84
4.3.50.0230.0307.84
4.3.40.0230.0377.84
4.3.30.0130.0237.84
4.3.20.0170.0237.84
4.3.10.0030.0337.84
4.3.00.0100.0276.73

preferences:
30.51 ms | 403 KiB | 5 Q