3v4l.org

run code in 300+ PHP versions simultaneously
<?php $pin = '0010'; var_export(preg_replace('~\G0~', ' ', $pin));

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.20.0130.00619.84
8.4.10.0060.00319.39
8.3.150.0040.00417.21
8.3.140.0140.00316.74
8.3.130.0040.00418.44
8.3.120.0060.01318.59
8.3.110.0110.00720.94
8.3.100.0000.00924.06
8.3.90.0160.00626.77
8.3.80.0130.00319.36
8.3.70.0070.01518.43
8.3.60.0150.00318.30
8.3.50.0140.00524.51
8.3.40.0040.01218.82
8.3.30.0180.00018.57
8.3.20.0090.00024.18
8.3.10.0040.00424.66
8.3.00.0080.00026.16
8.2.270.0090.00917.48
8.2.260.0100.00718.75
8.2.250.0050.00318.86
8.2.240.0030.00617.16
8.2.230.0030.00622.58
8.2.220.0060.00337.54
8.2.210.0110.00726.77
8.2.200.0070.01018.88
8.2.190.0090.00916.63
8.2.180.0070.01425.92
8.2.170.0170.00319.09
8.2.160.0110.00322.96
8.2.150.0060.00325.66
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0080.00026.16
8.2.110.0000.01022.08
8.2.100.0040.01217.78
8.2.90.0060.00317.75
8.2.80.0040.00418.95
8.2.70.0000.00817.90
8.2.60.0000.00818.09
8.2.50.0040.00418.10
8.2.40.0030.00519.23
8.2.30.0030.00619.24
8.2.20.0000.00717.95
8.2.10.0040.00419.09
8.2.00.0070.00019.11
8.1.310.0090.00918.39
8.1.300.0190.00019.77
8.1.290.0080.00430.84
8.1.280.0060.01225.92
8.1.270.0040.00423.99
8.1.260.0030.00626.35
8.1.250.0070.00028.09
8.1.240.0060.00322.11
8.1.230.0070.00417.77
8.1.220.0080.00017.74
8.1.210.0040.00418.77
8.1.200.0000.00917.38
8.1.190.0030.00617.47
8.1.180.0030.00518.10
8.1.170.0060.00318.64
8.1.160.0000.00719.05
8.1.150.0040.00418.89
8.1.140.0000.00718.77
8.1.130.0030.00320.01
8.1.120.0040.00417.55
8.1.110.0040.00417.45
8.1.100.0090.00017.58
8.1.90.0040.00417.41
8.1.80.0030.00517.53
8.1.70.0000.00717.55
8.1.60.0040.00417.66
8.1.50.0040.00417.64
8.1.40.0040.00417.60
8.1.30.0030.00617.60
8.1.20.0030.00717.69
8.1.10.0000.00817.55
8.1.00.0040.00417.58
8.0.300.0080.00018.77
8.0.290.0040.00416.75
8.0.280.0000.00718.35
8.0.270.0000.00816.83
8.0.260.0070.00018.39
8.0.250.0040.00416.95
8.0.240.0000.00816.97
8.0.230.0000.00716.91
8.0.220.0000.00716.95
8.0.210.0040.00416.98
8.0.200.0040.00416.91
8.0.190.0040.00417.00
8.0.180.0020.00517.04
8.0.170.0040.00417.03
8.0.160.0040.00317.00
8.0.150.0000.00816.92
8.0.140.0060.00316.97
8.0.130.0000.00613.40
8.0.120.0080.00016.85
8.0.110.0000.00716.74
8.0.100.0040.00416.83
8.0.90.0040.00416.79
8.0.80.0120.00917.02
8.0.70.0040.00416.95
8.0.60.0070.00017.07
8.0.50.0050.00216.79
8.0.30.0120.00417.02
8.0.20.0130.01017.02
8.0.10.0040.00316.94
8.0.00.0120.00617.01
7.4.330.0040.00015.55
7.4.320.0000.00716.64
7.4.300.0060.00016.67
7.4.290.0070.00016.61
7.4.280.0000.00916.71
7.4.270.0000.00716.74
7.4.260.0030.00313.41
7.4.250.0070.00016.52
7.4.240.0060.00316.65
7.4.230.0030.00316.48
7.4.220.0000.00716.68
7.4.210.0070.01116.64
7.4.200.0040.00416.71
7.4.130.0120.00516.58
7.4.120.0120.00916.57
7.4.110.0110.01116.47
7.4.100.0070.01016.51
7.4.90.0100.00716.58
7.4.80.0130.01019.39
7.4.70.0040.01216.27
7.4.60.0100.00716.82
7.4.50.0090.00916.50
7.4.40.0130.00516.67
7.4.30.0120.01216.54
7.4.20.0100.00816.63
7.4.10.0100.01016.52
7.4.00.0100.01316.63
7.3.330.0040.00216.33
7.3.320.0030.00313.07
7.3.310.0000.00716.34
7.3.300.0070.00016.28
7.3.290.0080.00716.33
7.3.260.0100.01316.69
7.3.240.0090.00916.29
7.3.230.0030.01316.45
7.3.210.0100.00716.27
7.3.200.0070.01016.24
7.3.190.0110.00916.52
7.3.180.0130.01016.44
7.3.170.0130.00316.25
7.3.160.0100.00716.55
7.3.150.0120.00416.32
7.3.140.0110.00616.14
7.3.130.0130.00516.22
7.3.120.0080.01116.59
7.3.110.0100.01216.29
7.3.100.0090.01316.35
7.3.90.0090.00916.64
7.3.80.0160.00816.28
7.3.70.0090.01416.35
7.3.60.0080.01816.26
7.3.50.0060.01016.43
7.3.40.0090.00616.50
7.3.30.0170.00016.10
7.3.20.0040.01416.27
7.3.10.0050.01316.30
7.3.00.0070.01016.54
7.2.330.0180.00316.57
7.2.320.0040.01216.64
7.2.310.0110.01116.64
7.2.300.0130.00616.44
7.2.290.0100.01016.50
7.2.280.0120.00516.52
7.2.270.0060.01216.70
7.2.260.0070.01616.67
7.2.250.0090.01816.42
7.2.240.0150.00716.46
7.2.230.0060.01516.38
7.2.220.0080.01316.58
7.2.210.0100.01016.62
7.2.200.0090.01316.73
7.2.190.0110.01416.70
7.2.180.0000.01616.63
7.2.170.0140.00416.32
7.2.160.0090.00916.37
7.2.150.0070.01116.48
7.2.140.0130.00816.69
7.2.130.0100.00816.45
7.2.120.0070.01116.65
7.2.110.0000.01816.38
7.2.100.0090.00916.57
7.2.90.0070.01016.70
7.2.80.0110.00716.57
7.2.70.0100.01016.59
7.2.60.0110.00716.22
7.2.50.0320.00016.68
7.2.40.0090.00916.54
7.2.30.0040.01316.60
7.2.20.0120.00616.61
7.2.10.0140.00616.63
7.2.00.0090.01516.34

preferences:
38.01 ms | 403 KiB | 5 Q