3v4l.org

run code in 300+ PHP versions simultaneously
<?php $extra = [ 'affiliate_id' => '2222', 'description' => 'description', 'order_hash_public' => 'orderHashPublic', ]; $socialAuthItem['login'] = '1234sflfkjasdf'; $socialAuthItem['vterm_id'] = 'VKGolosa'; $extra['social_auth'][] = $socialAuthItem; echo json_encode(['extra' => $extra], JSON_UNESCAPED_UNICODE);

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.70.0090.00616.22
8.3.60.0080.00618.43
8.3.50.0130.00716.55
8.3.40.0040.01118.59
8.3.30.0110.00418.68
8.3.20.0000.00720.21
8.3.10.0080.00021.79
8.3.00.0050.00319.81
8.2.180.0040.01118.16
8.2.170.0130.00622.96
8.2.160.0120.00319.18
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0070.00019.45
8.2.120.0050.00326.35
8.2.110.0070.00320.89
8.2.100.0110.00017.91
8.2.90.0050.00317.75
8.2.80.0030.00518.90
8.2.70.0000.00818.03
8.2.60.0040.00418.22
8.2.50.0030.00519.27
8.2.40.0030.00621.08
8.2.30.0040.00419.21
8.2.20.0000.00818.23
8.2.10.0040.00418.06
8.2.00.0030.00517.99
8.1.280.0100.00625.92
8.1.270.0000.00723.92
8.1.260.0000.00726.35
8.1.250.0080.00028.09
8.1.240.0030.00623.86
8.1.230.0090.00317.82
8.1.220.0080.00017.79
8.1.210.0080.00018.77
8.1.200.0000.00917.22
8.1.190.0000.00817.23
8.1.180.0000.00918.10
8.1.170.0040.00418.65
8.1.160.0000.00718.96
8.1.150.0040.00418.77
8.1.140.0020.00519.52
8.1.130.0030.00318.84
8.1.120.0050.00217.46
8.1.110.0030.00617.34
8.1.100.0000.00717.23
8.1.90.0030.00617.39
8.1.80.0040.00417.45
8.1.70.0050.00217.41
8.1.60.0040.00417.54
8.1.50.0000.00817.41
8.1.40.0080.00417.41
8.1.30.0050.00217.54
8.1.20.0070.00017.59
8.1.10.0050.00217.46
8.1.00.0000.00717.47
8.0.300.0070.00018.77
8.0.290.0080.00016.72
8.0.280.0030.00318.46
8.0.270.0000.00817.17
8.0.260.0000.00816.72
8.0.250.0000.00616.83
8.0.240.0060.00316.84
8.0.230.0030.00316.85
8.0.220.0040.00416.78
8.0.210.0000.00816.81
8.0.200.0030.00316.86
8.0.190.0040.00416.85
8.0.180.0000.00816.74
8.0.170.0000.00716.75
8.0.160.0030.00416.88
8.0.150.0000.00716.81
8.0.140.0000.00716.78
8.0.130.0000.00513.24
8.0.120.0070.00016.77
8.0.110.0030.00516.61
8.0.100.0040.00416.83
8.0.90.0040.00416.94
8.0.80.0060.01016.80
8.0.70.0040.00416.73
8.0.60.0040.00416.82
8.0.50.0040.00416.82
8.0.30.0060.01116.98
8.0.20.0080.01417.40
8.0.10.0000.00716.98
8.0.00.0110.01116.48
7.4.330.0000.00515.55
7.4.320.0000.00616.55
7.4.300.0030.00316.45
7.4.290.0040.00416.43
7.4.280.0040.00416.51
7.4.270.0030.00316.43
7.4.260.0050.00316.38
7.4.250.0000.00816.51
7.4.240.0060.00316.57
7.4.230.0000.00716.19
7.4.220.0090.00916.61
7.4.210.0030.01016.43
7.4.200.0040.00416.43
7.4.160.0090.00816.51
7.4.150.0060.01217.40
7.4.140.0070.01217.86
7.4.130.0170.00716.48
7.4.120.0090.00916.46
7.4.110.0070.01016.48
7.4.100.0060.01116.52
7.4.90.0120.00616.49
7.4.80.0070.01619.39
7.4.70.0100.01016.27
7.4.60.0070.01016.42
7.4.50.0070.01116.27
7.4.40.0060.00916.59
7.4.30.0060.00916.38
7.4.00.0070.00814.97
7.3.330.0030.00313.09
7.3.320.0030.00313.07
7.3.310.0000.00816.19
7.3.300.0080.00016.25
7.3.290.0060.00816.25
7.3.280.0080.00816.26
7.3.270.0120.00617.40
7.3.260.0100.00916.54
7.3.250.0100.00816.36
7.3.240.0100.01216.39
7.3.230.0000.01816.21
7.3.210.0120.00616.53
7.3.200.0180.00416.34
7.3.190.0130.00316.29
7.3.180.0130.00316.34
7.3.170.0130.01016.37
7.3.160.0120.00316.19
7.3.120.0070.01115.03
7.3.110.0030.01014.92
7.3.100.0070.01014.59
7.3.90.0050.00614.87
7.3.80.0130.00314.68
7.3.70.0030.01014.91
7.3.60.0060.00914.60
7.3.50.0060.00314.70
7.3.40.0030.01014.88
7.3.30.0060.00614.71
7.3.20.0060.00916.39
7.3.10.0070.00316.46
7.3.00.0090.00616.79
7.2.330.0060.01216.31
7.2.320.0100.00616.69
7.2.310.0170.00716.34
7.2.300.0070.01016.44
7.2.290.0110.00716.21
7.2.250.0000.02015.24
7.2.240.0070.01014.95
7.2.230.0070.01114.76
7.2.220.0030.00615.23
7.2.210.0000.01015.16
7.2.200.0090.00315.14
7.2.190.0030.01015.17
7.2.180.0120.00615.16
7.2.170.0090.00615.06
7.2.60.0290.01316.66
7.2.00.0060.01218.96
7.1.330.0090.00315.95
7.1.320.0100.00415.90
7.1.310.0040.00815.72
7.1.300.0040.00815.82
7.1.290.0030.00915.99
7.1.280.0060.00315.91
7.1.270.0030.00915.75
7.1.260.0030.01015.64
7.1.200.0060.00615.89
7.1.100.0060.00618.04
7.1.70.0130.00317.34
7.1.60.0170.01735.15
7.1.50.0220.01234.83
7.1.40.0110.02034.40
7.1.30.0140.01434.45
7.1.20.0190.00934.73
7.1.10.0060.00916.55
7.1.00.0060.01016.75
7.0.200.0030.01216.76
7.0.190.0060.01116.77
7.0.180.0000.01715.94
7.0.170.0040.01016.32
7.0.160.0070.00716.21
7.0.150.0000.01416.24
7.0.140.0070.00716.12
7.0.130.0000.01316.47
7.0.120.0030.01016.63
7.0.110.0000.01316.49
7.0.100.0100.00316.39
7.0.90.0060.00616.26
7.0.80.0000.01316.28
7.0.70.0100.00316.13
7.0.60.0030.01016.08
7.0.50.0050.01216.55
7.0.40.0110.00616.47
7.0.30.0000.01316.53
7.0.20.0030.01216.36
7.0.10.0090.00616.36
7.0.00.0080.00816.26

preferences:
38.98 ms | 401 KiB | 5 Q