3v4l.org

run code in 300+ PHP versions simultaneously
<?php $vehicles = [ 'vehicleSuper' => [ "adder", "autarch", "banshee2", "bullet" ], 'vehicleSport' => [ "alpha", "banshee", "bestiagts", "blista2" ], //... ]; $textures = [ 'candc_apartments' => [ "limo2_b", "limo2", ], 'candc_default' => [ "marshall_flag18_b", "mesa_b", "rentbus", "marshall_flag21_b", "crusader", "boxville4", "buzzard_b", "dukes2_b", "dukes", ], 'lgm_default' => [ "hotknife", "coquette", "voltic_tless", "vacca", "infernus", "cogcabri_b", "stinger_b", "banshee_b", "ztype", "ninef", "jb700", "superd", "monroe_b", "rapidgt2_b", "khamel", "comet2_b", "cheetah_b", "rapidgt_b", "stinger", "carbon_b", "surano_convertable_b", "rapidgt2", "infernus_b", "jb700_b", "ninef_b", "stingerg", "superd_b", "bullet_b", "ztype_b", "hotknife_b", "cogcabri", "surano_convertable", "rapidgt", "stingerg_b", "coquette_b", "bullet", "carbon", "ninef2", "carboniz", "cheetah", "adder_b", "entityxf", "adder", "feltzer", ], ]; foreach($vehicles as $category => $v_vals) { echo "vehicleSpawner " . $category . "[] = {\n"; foreach($textures as $k => $t_vals) { foreach (array_intersect($v_vals, $t_vals) as $match) { echo " { \"$match\", \"$k\", \"$match\" },\n"; } } echo "}\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.4.120.0120.00620.80
8.4.110.0110.00922.28
8.4.100.0070.00317.76
8.4.90.0070.00218.78
8.4.80.0130.00717.82
8.4.70.0120.00817.86
8.4.60.0110.00819.01
8.4.50.0130.00517.68
8.4.40.0190.00017.57
8.4.30.0240.00818.15
8.4.20.0300.00718.55
8.4.10.0310.00817.55
8.3.250.0110.00818.95
8.3.240.0120.00716.71
8.3.230.0110.00816.59
8.3.220.0110.00717.23
8.3.210.0080.01016.73
8.3.200.0060.00616.49
8.3.190.0100.00916.89
8.3.180.0080.00716.41
8.3.170.0110.00719.11
8.3.160.0280.00917.01
8.3.150.0170.01017.78
8.3.140.0290.00616.61
8.3.130.0190.01116.55
8.3.120.0220.01217.31
8.3.110.0290.00117.98
8.3.100.0260.00618.89
8.3.90.0260.00619.86
8.3.80.0260.00717.12
8.3.70.0300.00317.08
8.3.60.0310.01017.08
8.3.50.0230.00817.15
8.3.40.0200.01217.71
8.3.30.0190.01017.71
8.3.20.0230.00517.81
8.3.10.0180.01119.42
8.3.00.0180.00619.32
8.2.290.0150.00420.62
8.2.280.0090.00618.42
8.2.270.0230.00817.23
8.2.260.0250.00716.85
8.2.250.0200.00816.68
8.2.240.0250.00316.35
8.2.230.0190.00818.40
8.2.220.0230.00723.40
8.2.210.0260.00719.90
8.2.200.0230.00616.42
8.2.190.0230.00816.38
8.2.180.0240.00816.95
8.2.170.0290.00719.31
8.2.160.0220.00918.51
8.2.150.0240.00520.25
8.2.140.0290.00319.74
8.2.130.0260.00619.03
8.2.120.0250.00620.41
8.2.110.0220.00919.16
8.2.100.0250.00617.52
8.2.90.0160.01317.71
8.2.80.0240.00618.02
8.2.70.0190.00917.59
8.2.60.0220.00617.71
8.2.50.0210.00917.63
8.2.40.0230.00618.06
8.2.30.0200.00718.51
8.2.20.0150.00717.71
8.2.10.0180.00817.71
8.2.00.0240.00718.06
8.1.330.0090.01022.12
8.1.320.0080.01216.34
8.1.310.0240.01016.74
8.1.300.0220.00716.78
8.1.290.0180.01120.86
8.1.280.0260.00519.05
8.1.270.0210.00719.51
8.1.260.0240.00420.37
8.1.250.0210.00720.81
8.1.240.0200.00818.91
8.1.230.0220.00618.39
8.1.220.0150.01017.57
8.1.210.0230.00217.73
8.1.200.0170.01017.13
8.1.190.0200.00617.08
8.1.180.0160.01017.45
8.1.170.0220.00517.63
8.1.160.0180.00817.64
8.1.150.0180.00817.64
8.1.140.0190.00517.87
8.1.130.0160.00717.26
8.1.120.0130.01117.38
8.1.110.0170.00917.26
8.1.100.0190.00617.31
8.1.90.0170.00717.22
8.1.80.0160.00317.25
8.1.70.0160.00317.31
8.1.60.0140.00717.49
8.1.50.0250.00617.36
8.1.40.0220.00617.34
8.1.30.0170.01017.42
8.1.20.0180.00617.50
8.1.10.0190.00817.31
8.1.00.0230.00617.04
8.0.300.0210.00617.78
8.0.290.0240.00616.53
8.0.280.0180.00717.19
8.0.270.0170.00816.76
8.0.260.0190.00716.61
8.0.250.0190.00716.65
8.0.240.0190.00616.70
8.0.230.0170.01016.52
8.0.220.0240.00416.74
8.0.210.0170.00916.68
8.0.200.0210.00516.67
8.0.190.0210.00716.74
8.0.180.0230.00516.69
8.0.170.0180.00716.66
8.0.160.0190.00616.61
8.0.150.0120.01416.65
8.0.140.0150.01116.64
8.0.130.0220.00315.38
8.0.120.0170.00916.49
8.0.110.0210.00516.54
8.0.100.0230.00316.63
8.0.90.0230.00316.60
8.0.80.0180.00916.70
8.0.70.0200.00716.59
8.0.60.0210.00516.55
8.0.50.0210.00316.58
8.0.30.0160.00916.79
8.0.20.0190.00717.11
8.0.10.0220.00416.66
8.0.00.0220.00716.85
7.4.330.0210.00415.94
7.4.320.0200.00416.33
7.4.300.0210.00316.34
7.4.290.0160.00516.41
7.4.280.0160.00816.24
7.4.270.0170.00616.36
7.4.260.0170.00616.31
7.4.250.0230.00116.33
7.4.240.0230.00716.29
7.4.230.0170.00716.33
7.4.220.0180.00616.29
7.4.210.0150.00916.39
7.4.200.0180.00616.27
7.4.190.0250.01116.28
7.4.180.0260.00616.20
7.4.160.0230.00516.31
7.4.150.0270.00616.23
7.4.140.0120.01017.35
7.4.130.0210.00616.24
7.4.120.0170.00816.40
7.4.110.0170.00816.10
7.4.100.0190.00616.32
7.4.90.0160.00916.16
7.4.80.0180.00917.25
7.4.70.0220.00516.14
7.4.60.0180.01116.23
7.4.50.0200.00916.03
7.4.40.0220.00516.15
7.4.30.0280.00516.00
7.4.20.0220.01015.97
7.4.10.0180.00915.64
7.4.00.0150.00715.40
7.3.330.0220.00415.08
7.3.320.0160.00815.03
7.3.310.0150.00816.02
7.3.300.0170.00716.19
7.3.290.0120.00616.10
7.3.280.0160.00516.17
7.3.270.0270.00416.11
7.3.260.0160.00516.21
7.3.250.0260.00315.94
7.3.240.0160.00516.40
7.3.230.0160.00616.17
7.3.220.0140.00715.86
7.3.210.0150.00816.12
7.3.200.0160.00916.15
7.3.190.0220.00616.11
7.3.180.0210.00816.13
7.3.170.0200.00916.11
7.3.160.0210.00716.11
7.3.150.0270.00615.93
7.3.140.0260.00615.87
7.3.130.0170.00815.49
7.3.120.0150.00815.52
7.3.110.0180.00515.38
7.3.100.0160.00815.32
7.3.90.0150.00815.56
7.3.80.0140.00915.37
7.3.70.0170.00715.47
7.3.60.0170.00615.49
7.3.50.0190.00415.57
7.3.40.0140.00915.44
7.3.30.0130.00515.47
7.3.20.0150.00617.28
7.3.10.0160.00617.18
7.3.00.0210.00317.26
7.2.340.0260.00816.19
7.2.330.0230.00616.26
7.2.320.0180.00816.26
7.2.310.0210.00716.38
7.2.300.0170.01216.45
7.2.290.0180.00816.02
7.2.280.0270.00516.10
7.2.270.0310.00015.96
7.2.260.0170.00715.62
7.2.250.0180.00715.46
7.2.240.0140.01015.44
7.2.230.0150.00915.60
7.2.220.0170.00715.57
7.2.210.0150.00915.50
7.2.200.0190.00615.57
7.2.190.0150.00615.62
7.2.180.0120.00615.62
7.2.170.0160.00215.68
7.2.160.0130.01115.79
7.2.150.0230.00617.61
7.2.140.0160.01017.70
7.2.130.0230.00317.69
7.2.120.0190.00917.62
7.2.110.0210.00817.76
7.2.100.0190.00917.86
7.2.90.0160.01117.62
7.2.80.0330.00916.40
7.2.70.0340.00616.51
7.2.60.0310.00916.55
7.2.50.0330.00716.64
7.2.40.0450.00716.66
7.2.30.0360.00716.59
7.2.20.0300.01016.59
7.2.10.0350.00716.59
7.2.00.0400.00616.55
7.1.330.0140.00816.40
7.1.320.0130.01016.46
7.1.310.0100.00916.37
7.1.300.0120.00716.49
7.1.290.0140.00516.33
7.1.280.0150.00816.47
7.1.270.0170.00416.44
7.1.260.0140.00916.46
7.1.250.0200.00616.52
7.1.240.0180.00816.56
7.1.230.0190.00616.67
7.1.220.0150.01016.82
7.1.210.0200.00516.64
7.1.200.0360.00615.45
7.1.190.0330.00715.51
7.1.180.0490.00715.53
7.1.170.0240.01115.59
7.1.160.0330.00915.58
7.1.150.0280.00815.48
7.1.140.0380.00615.55
7.1.130.0330.00715.48
7.1.120.0350.00715.53
7.1.110.0430.00615.54
7.1.100.0320.00815.49
7.1.90.0280.00715.49
7.1.80.0310.00715.46
7.1.70.0330.00515.46
7.1.60.0330.00722.73
7.1.50.0400.00522.67
7.1.40.0330.00722.71
7.1.30.0370.00422.81
7.1.20.0320.00722.70
7.1.10.0270.00515.59
7.1.00.0250.00615.44
7.0.330.0140.00816.31
7.0.320.0180.00816.28
7.0.310.0120.01016.35
7.0.300.0170.00716.27
7.0.290.0150.00916.26
7.0.280.0240.00916.31
7.0.270.0180.00516.24
7.0.260.0160.00516.29
7.0.250.0210.00416.52
7.0.240.0180.00616.36
7.0.230.0170.00616.29
7.0.220.0190.00616.28
7.0.210.0150.00816.40
7.0.200.0110.00816.31
7.0.190.0170.00616.26
7.0.180.0170.01016.37
7.0.170.0210.00416.50
7.0.160.0150.00716.27
7.0.150.0160.00616.33
7.0.140.0160.01016.27
7.0.130.0170.00716.41
7.0.120.0120.00616.32
7.0.110.0150.00316.41
7.0.100.0160.00316.35
7.0.90.0160.00616.35
7.0.80.0150.00816.36
7.0.70.0180.00416.30
7.0.60.0180.00616.11
7.0.50.0160.00616.22
7.0.40.0160.00715.58
7.0.30.0170.00415.66
7.0.20.0120.00815.61
7.0.10.0200.00315.71
7.0.00.0160.00815.50
5.6.400.0240.00115.41
5.6.390.0170.00515.29
5.6.380.0140.00815.27
5.6.370.0160.00715.11
5.6.360.0190.00815.13
5.6.350.0180.00615.26
5.6.340.0150.00815.32
5.6.330.0140.00815.28
5.6.320.0180.00715.31
5.6.310.0200.00315.35
5.6.300.0170.00715.28
5.6.290.0150.00715.33
5.6.280.0170.00315.30
5.6.270.0110.00815.15
5.6.260.0110.00915.23
5.6.250.0180.00615.17
5.6.240.0190.00515.21
5.6.230.0190.00415.22
5.6.220.0170.00615.21
5.6.210.0230.00315.25
5.6.200.0180.00515.31
5.6.190.0130.01215.13
5.6.180.0180.00715.21
5.6.170.0090.01015.34
5.6.160.0130.00615.16
5.6.150.0100.00815.34
5.6.140.0060.01115.39
5.6.130.0130.00415.14
5.6.120.0110.00615.33
5.6.110.0100.00815.18
5.6.100.0140.00615.25
5.6.90.0160.00415.26
5.6.80.0170.00815.11
5.6.70.0180.00615.23
5.6.60.0180.00515.22
5.6.50.0120.01215.32
5.6.40.0110.01015.16
5.6.30.0190.00315.30
5.6.20.0160.00815.13
5.6.10.0160.00815.19
5.6.00.0160.00715.21

preferences:
120.9 ms | 403 KiB | 5 Q