3v4l.org

run code in 300+ PHP versions simultaneously
<?php $user = 'user'; $pass = 'password'; $productsModel = 'productsModel'; $products_id = 'products_id'; $imageName = 'imageName'; $image = 'image'; $imageName2 = 'imageName2'; $image2 = 'image2'; $data = array( "function" => "setArticleImages", "paras" => array( "user" => $user, "pass" => $pass, "product_model" => $productsModel, "images" => array( "products_id" => $products_id, "image_name" => $imageName, "image" => $image, "products_images" => array( array( "products_id" => $products_id, "image_name" => $imageName2, "image" => $image2, ) ), ) ) ); $data = json_encode($data, JSON_PRETTY_PRINT); echo $data;

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.00522.07
8.4.110.0110.00920.80
8.4.100.0140.00617.58
8.4.90.0120.00818.76
8.4.80.0030.00517.97
8.4.70.0070.00217.89
8.4.60.0140.00618.59
8.4.50.0140.00717.57
8.4.40.0040.01119.36
8.4.30.0040.01219.44
8.4.20.0130.00718.92
8.4.10.0030.00617.73
8.3.250.0110.00519.05
8.3.240.0130.00616.64
8.3.230.0160.00416.60
8.3.220.0120.00616.91
8.3.210.0110.00816.69
8.3.200.0030.00516.35
8.3.190.0110.00717.05
8.3.180.0080.01216.47
8.3.170.0110.00016.88
8.3.160.0080.00018.36
8.3.150.0110.00720.54
8.3.140.0050.00516.80
8.3.130.0030.00518.43
8.3.120.0070.01120.88
8.3.110.0180.00020.94
8.3.100.0000.00824.06
8.3.90.0080.00026.77
8.3.80.0050.00518.52
8.3.70.0120.00616.38
8.3.60.0090.00916.75
8.3.50.0020.01318.20
8.3.40.0080.00818.85
8.3.30.0140.00018.85
8.3.20.0000.00720.85
8.3.10.0040.00423.53
8.3.00.0040.00420.68
8.2.290.0100.00820.20
8.2.280.0110.00918.20
8.2.270.0090.00017.22
8.2.260.0080.00020.25
8.2.250.0040.00418.20
8.2.240.0030.00617.33
8.2.230.0080.00822.58
8.2.220.0100.00037.54
8.2.210.0040.00426.77
8.2.200.0030.00618.16
8.2.190.0070.00716.88
8.2.180.0040.01116.50
8.2.170.0070.00722.96
8.2.160.0100.00322.05
8.2.150.0040.00424.18
8.2.140.0060.00324.66
8.2.130.0040.00419.95
8.2.120.0040.00426.35
8.2.110.0140.00320.97
8.2.100.0090.00319.63
8.2.90.0130.00017.49
8.2.80.0060.00318.05
8.2.70.0000.00918.03
8.2.60.0040.00418.22
8.2.50.0030.00618.10
8.2.40.0000.00919.30
8.2.30.0040.00420.66
8.2.20.0000.00818.19
8.2.10.0050.00319.40
8.2.00.0020.00518.13
8.1.330.0130.00522.05
8.1.320.0100.00915.84
8.1.310.0030.01617.02
8.1.300.0070.00718.41
8.1.290.0040.00430.84
8.1.280.0120.00325.92
8.1.270.0080.00023.85
8.1.260.0000.00726.35
8.1.250.0050.00328.09
8.1.240.0040.00423.77
8.1.230.0080.00322.80
8.1.220.0090.00017.78
8.1.210.0040.00418.85
8.1.200.0070.00317.23
8.1.190.0000.00817.22
8.1.180.0040.00418.10
8.1.170.0030.00618.66
8.1.160.0070.00018.91
8.1.150.0050.00218.88
8.1.140.0000.00819.03
8.1.130.0030.00320.26
8.1.120.0040.00317.49
8.1.110.0000.00717.37
8.1.100.0000.00717.51
8.1.90.0000.00817.50
8.1.80.0070.00017.47
8.1.70.0070.00017.51
8.1.60.0030.00517.63
8.1.50.0000.00917.54
8.1.40.0030.00517.52
8.1.30.0000.00817.66
8.1.20.0040.00417.71
8.1.10.0050.00317.61
8.1.00.0000.00717.54
8.0.300.0070.00019.75
8.0.290.0040.00416.63
8.0.280.0030.00318.45
8.0.270.0070.00016.81
8.0.260.0030.00318.50
8.0.250.0070.00016.94
8.0.240.0000.00817.00
8.0.230.0030.00316.86
8.0.220.0040.00416.94
8.0.210.0040.00416.75
8.0.200.0030.00516.97
8.0.190.0060.00316.86
8.0.180.0000.00716.94
8.0.170.0030.00516.93
8.0.160.0000.00816.95
8.0.150.0000.00916.84
8.0.140.0030.00516.75
8.0.130.0000.00513.38
8.0.120.0030.00516.82
8.0.110.0040.00416.91
8.0.100.0050.00216.86
8.0.90.0000.00716.94
8.0.80.0120.00316.96
8.0.70.0000.00816.73
8.0.60.0040.00416.77
8.0.50.0040.00416.90
8.0.30.0090.01217.31
8.0.20.0120.01117.17
8.0.10.0000.00716.93
8.0.00.0110.01116.69
7.4.330.0020.00215.55
7.4.320.0080.00016.41
7.4.300.0030.00316.50
7.4.290.0070.00016.63
7.4.280.0060.00316.49
7.4.270.0070.00016.62
7.4.260.0030.00416.55
7.4.250.0030.00316.57
7.4.240.0000.00816.54
7.4.230.0030.00316.33
7.4.220.0050.00216.63
7.4.210.0110.00516.52
7.4.200.0070.00016.51
7.4.160.0100.00716.54
7.4.140.0120.00617.86
7.4.130.0080.01116.56
7.4.120.0070.01016.39
7.4.110.0060.01216.52
7.4.100.0100.01316.73
7.4.90.0130.00916.55
7.4.80.0080.01119.39
7.4.70.0120.00316.46
7.4.60.0120.00316.48
7.4.50.0070.00516.24
7.4.40.0120.00916.39
7.4.00.0070.00714.79
7.3.330.0050.00013.16
7.3.320.0030.00313.21
7.3.310.0000.00716.10
7.3.300.0030.00316.30
7.3.290.0150.00316.29
7.3.280.0070.00916.30
7.3.260.0080.00916.42
7.3.230.0100.00716.46
7.3.210.0100.00716.39
7.3.200.0060.01016.71
7.3.190.0060.01016.56
7.3.180.0070.00916.54
7.3.170.0100.00616.37
7.3.160.0130.00316.56
7.3.40.0140.00514.64
7.3.30.0060.01114.57
7.3.20.0090.00616.41
7.3.10.0110.00416.36
7.3.00.0090.00916.82
7.2.330.0060.01216.68
7.2.320.0030.01716.43
7.2.310.0060.01816.45
7.2.300.0070.01416.53
7.2.290.0160.00716.40
7.2.170.0190.00014.94
7.2.160.0000.01914.60
7.2.150.0090.00616.93
7.2.140.0090.01216.72
7.2.130.0070.00816.82
7.2.120.0030.01016.61
7.2.110.0140.00316.57
7.2.100.0100.01316.64
7.2.90.0130.01016.58
7.2.80.0140.00716.92
7.2.70.0110.00416.69
7.2.60.0060.00616.65
7.2.50.0080.00316.86
7.2.40.0040.00716.95
7.2.30.0160.00616.99
7.2.20.0190.00416.47
7.2.10.0100.00316.69
7.2.00.0170.00416.93
7.1.280.0070.00715.89
7.1.270.0120.00915.53
7.1.260.0070.01315.66
7.1.250.0070.00415.49

preferences:
26.78 ms | 403 KiB | 5 Q